Any tool in Rich Text Editor for inserting Image while adding text wrap around or setting a margin value
We currently use the Media Picker option in Rich Text editor. The Media Picker, as it stands isn't very sophisticated and doesn't allow for positioning such as left/right alignment with text wrap around or setting a margin value etc. - which would allow spacing between the text and the image.
Is there any other option in the text editor will be more sophisticated than the current tool, and will allow performing the above options without using the html code view ?
yes, you can add a formatter(s) to either add classes or wrappers to your tags.
You do so by adding "style_formats" which in v8 was quite simple however due to it now using the appsettings.json requires some rather ugly formatting :D
Here is an example which adds several alignment options to img tags
Thanks Huw, this is a great solution and will cover most of the requirement. We can have some predefined options/formats for adding padding and alignment.
Still, if the user wants to manually enter some random margin or padding value, currently he can only do that in the HTML code view. Though, please let us know if there is any such option/tool in Umbraco which can accomplish this as well.
Any tool in Rich Text Editor for inserting Image while adding text wrap around or setting a margin value
We currently use the Media Picker option in Rich Text editor. The Media Picker, as it stands isn't very sophisticated and doesn't allow for positioning such as left/right alignment with text wrap around or setting a margin value etc. - which would allow spacing between the text and the image.
Is there any other option in the text editor will be more sophisticated than the current tool, and will allow performing the above options without using the html code view ?
yes, you can add a formatter(s) to either add classes or wrappers to your tags.
You do so by adding "style_formats" which in v8 was quite simple however due to it now using the appsettings.json requires some rather ugly formatting :D
Here is an example which adds several alignment options to img tags
This will give you some format options like below
It's probably a lot easy to see if normal formatted json :) to give you an idea of what it does
Thanks Huw, this is a great solution and will cover most of the requirement. We can have some predefined options/formats for adding padding and alignment.
Still, if the user wants to manually enter some random margin or padding value, currently he can only do that in the HTML code view. Though, please let us know if there is any such option/tool in Umbraco which can accomplish this as well.
is working on a reply...