Use Image Cropper Property Editor in Custom Directive
I have a custom property editor that uses several other directives and controls (text area, checkboxes, input boxes).
The property editor works just fine. But now the task is to incorporate Umbraco's image cropper into it. Is there any documentation for wrapping default property editors into directives, to be used in custom editors?
For RTE is ok... I have that already. The problem is with the image crop. It's a much more complex property editor to set up and I'm struggling to find a way to make it work.
Use Image Cropper Property Editor in Custom Directive
I have a custom property editor that uses several other directives and controls (text area, checkboxes, input boxes).
The property editor works just fine. But now the task is to incorporate Umbraco's image cropper into it. Is there any documentation for wrapping default property editors into directives, to be used in custom editors?
Anyone?
Hi Carlos,
Here is a example of rendering a RTE in custom plugins.
View code : https://github.com/dawoe/umbraco-tour-editor/blob/develop/Source/Our.Umbraco.TourEditor/Web/App_Plugins/TourEditor/backoffice/toureditor/subviews/stepdetails.html#L9
Controller code : https://github.com/dawoe/umbraco-tour-editor/blob/develop/Source/Our.Umbraco.TourEditor/Web/App_Plugins/TourEditor/backoffice/toureditor/subviews/stepdetails.html#L9
https://github.com/dawoe/umbraco-tour-editor/blob/develop/Source/Our.Umbraco.TourEditor/Web/App_Plugins/TourEditor/backoffice/toureditor/subviews/stepdetails.html#L9
Basicly you need to figure out the config data from the property editor you want to use.
If you have any questions...just let me know.
Dave
Thank you, Dave,
For RTE is ok... I have that already. The problem is with the image crop. It's a much more complex property editor to set up and I'm struggling to find a way to make it work.
is working on a reply...