Copied to clipboard

Flag this post as spam?

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


  • Robert Cartlidge 3 posts 33 karma points
    Oct 07, 2014 @ 23:42
    Robert Cartlidge
    0

    Partial View Macro in Rich Text Editor getting commented out on edit

    I have a Partial View Macro which I add via the Rich Text Editor. I have "use in rich text editor" and "render in rich text editor" set to true. It displays in the RTE fine so I save it and can view it in the front end so far so good.

    I go back to the RTE and the RTE looks empty, so I ask myself where has the content gone?? I view the source. The source shows the UMBRACO_MACRO commented out. If I save again then it saves this commented out version.

    When I look into the database the content was originally uncommented when working:

    <?UMBRACO_MACRO macroAlias="_ Employment" title="abc123" largeThumbnail="1066" />

    When I revisit the RTE and just hit save it's commented out automatically and this is saved to the database and therefore the front end does not render it:

    <!--?UMBRACO_MACRO macroAlias="_ Employment" title="abc123" largeThumbnail="1066" /-->

    Even if I try to remove the comments in the source viewer it just re-adds them. Any ideas how to fix this issues?

    Thanks

  • Si Burgess 15 posts 56 karma points
    Oct 31, 2014 @ 13:51
    Si Burgess
    0

    I'm experiencing the same problem. 

    Did you find a fix for this Robert?

  • 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