Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Mørup 297 posts 326 karma points
    May 26, 2009 @ 15:30
    Mikael Mørup
    0

    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

  • dandrayne 1138 posts 2262 karma points
    May 26, 2009 @ 15:37
    dandrayne
    0

    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...

  • Mikael Mørup 297 posts 326 karma points
    May 26, 2009 @ 16:03
    Mikael Mørup
    0

    I already have that checked, the problem is all the "extras" you get, the div tag and the macro mumbo jumbo.

  • dandrayne 1138 posts 2262 karma points
    May 26, 2009 @ 17:20
    dandrayne
    0

    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)

  • Mikael Mørup 297 posts 326 karma points
    May 26, 2009 @ 22:25
    Mikael Mørup
    0

    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.

  • 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.

Please Sign in or register to post replies