This has got me a working (in terms of functionality) rich text editor in the grid but as you can see from the following screengrab, it's not quite styled as planned:
What should it look like? You can add a stylesheet to your manifest so you can control what it looks like - And you might learn a trick or two by reading the angularjs workbook here https://github.com/umbraco/AngularWorkbook
I'm aiming for it to look like the normal RTE editor in the grid so I don't really want to try and work around the issues with custom code. It should look like this:
Thanks for the links, I'll have a look through and see if there's anything relevant.
Using the RTE in a Custom Property Editor
I'm trying to create a custom property editor for use in the grid and I've *almost* got it working nicely but the styles seem completely broken.
So, I'm basically creating a grid editor with a space for an input and a piece of rich text.
I've found the following post: http://www.enkelmedia.se/blogg/2013/12/4/umbraco-7-use-the-rich-text-editor-tinymce-in-a-custom-section.aspx
This has got me a working (in terms of functionality) rich text editor in the grid but as you can see from the following screengrab, it's not quite styled as planned:
My package.manifest:
My view:
And finally, my controller:
Any ideas what I'm doing wrong here?
Thanks!
Hi 0Neji
What should it look like? You can add a stylesheet to your manifest so you can control what it looks like - And you might learn a trick or two by reading the angularjs workbook here https://github.com/umbraco/AngularWorkbook
There is also some documentation regarding property editors here, which is probably also useful http://umbraco.github.io/Belle/#/api
Hope this helps.
/Jan
I'm aiming for it to look like the normal RTE editor in the grid so I don't really want to try and work around the issues with custom code. It should look like this:
Thanks for the links, I'll have a look through and see if there's anything relevant.
Hi 0Neji,
If you have full access to the Umbraco TV, there is a whole chapter on how to build a property editor http://umbraco.tv/videos/umbraco-v7/developer/extending/property-editors
Hope this can help too.
/Dennis
Or you could take a look at LeBlender, or Doc Type Grid Editor.
https://our.umbraco.org/projects/backoffice-extensions/leblender
https://our.umbraco.org/projects/backoffice-extensions/doc-type-grid-editor
is working on a reply...