Copied to clipboard

Flag this post as spam?

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


  • Carlos 338 posts 472 karma points
    Jun 14, 2012 @ 00:49
    Carlos
    0

    Razor parameters in TinyMCE in Umbraco 4.7.1

    Using Umbraco 4.7.1

    I have having an issue with TinyMCE messing up my parameters when I add my Macro to the RTE.

    For some reason it is throwing \r\n into my text strings.  So it starts to look like this "This is\r\n string"

    What is going on with this?  Why is it adding return breaks in my parameter text strings.  I have my parameters filling in strings in some Javascript that gets put onto the page by the Macro/Razor script when the is added to the RTE.  So when there is a return  (\r\n) in the string it breaks the Javascript.  

    Is this a bug or what?  Plus, is there a way to add HTML tags such as <p> to the Multiline parameter properties. I keep getting a [tidyerror] when I try to add them.  Is there a way around this or is this a bug that needs to be fixed too.

    Thanks,

    Carlos

Please Sign in or register to post replies

Write your reply to:

Draft