I have created some macros that helps my editors to insert some tables and pictures in the rich text editor.
The problem i have is whenever i use the umbraco macror button in the rich text editor, everything i insert is wrapped in a div tag, some styling, and some umbraco macro syntax.
This ruins my goal og making life easier for my editors.
Is there a way to avoid this, so the macro just inserts the HTML i specified in the XSLT file behind the macro ?
In the macro options, you can select "render content in editor" to see the macros output. I find this can confuse authors however, who then try to edit the output of the macro...
Ahh, then I don't think there is a way to get rid of this from the editor (although it obviously doesn't get output and is just used to distinguish macro content in the editor)
Yeah. That was what i thought. Thanks for answering.
I can see in the config file that there seems to be a way, to add your own stuff to the tinymce editor. I think i will try to investigate that. When time permits.
Using umbraco macros in the rich text editor
I have created some macros that helps my editors to insert some tables and pictures in the rich text editor.
The problem i have is whenever i use the umbraco macror button in the rich text editor, everything i insert is wrapped in a div tag, some styling, and some umbraco macro syntax.
This ruins my goal og making life easier for my editors.
Is there a way to avoid this, so the macro just inserts the HTML i specified in the XSLT file behind the macro ?
Thanks
Mikael
In the macro options, you can select "render content in editor" to see the macros output. I find this can confuse authors however, who then try to edit the output of the macro...
I already have that checked, the problem is all the "extras" you get, the div tag and the macro mumbo jumbo.
Ahh, then I don't think there is a way to get rid of this from the editor (although it obviously doesn't get output and is just used to distinguish macro content in the editor)
Yeah. That was what i thought. Thanks for answering.
I can see in the config file that there seems to be a way, to add your own stuff to the tinymce editor. I think i will try to investigate that. When time permits.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.