Copied to clipboard

Flag this post as spam?

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


  • Ryuu 9 posts 39 karma points
    Feb 17, 2016 @ 15:03
    Ryuu
    0

    Macro Render Code

    I'm trying to find where the code that determines the HTML to use for a macro within the rich text editor. I've found and updated:

    Umbraco.Core.Macros.MacroTagParser.FormatRichTextPersistedDataForEditor

    However the markup hasn't changed.

    The issue I want to solve is allowing for macros to be rendered inline as opposed to as block elements. Ideally a switch on the macro would work, but for now, defaulting inline is fine

    When within the code base is this markup set?

    For reference, I'm running 7.3.7, and updating to a more recent version isn't an option

    Thanks in advance

  • Greg Woods 12 posts 92 karma points
    Feb 20, 2018 @ 03:28
    Greg Woods
    0

    Hi Ryuu

    Did you resolve this problem? I'm looking at doing the same thing. Even if updating the html manually in the RTE e.g. from

    <div class="umb-macro-holder mceNonEditable">

    to

    <span class="umb-macro-holder mceNonEditable">

    On Save this reverted back to div.

  • 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