Copied to clipboard

Flag this post as spam?

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


  • Peter S 169 posts 587 karma points
    Sep 24, 2015 @ 13:48
    Peter S
    0

    Render rich text property with macros to string

    I've made a simple function that returns the markup of a rich text property as a string by just returning the value of the property. Myproblem is that it crashes whenever there's a macro in it. Is there a way to render it and get the macro content in the string as well before returning it?

  • Peter S 169 posts 587 karma points
    Sep 24, 2015 @ 14:13
    Peter S
    0

    I should perhaps add that I do this in a SurfaceController to be able to reach it with an Ajax script. I do the same thing in a regular RenderMvcController at page load and then it works just fine. So why is there a different between these two ways?

Please Sign in or register to post replies

Write your reply to:

Draft