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.
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
is working on a reply...