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:
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:
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
I'm experiencing the same problem.
Did you find a fix for this Robert?
is working on a reply...