umbraco rte macros with textarea parameters that have a line break disappear in editor
I noticed that when I upgraded from 7.2.8 to 7.3.1 that my macros in the rte with textarea parameters disappeared.
Upon troubleshooting, I noticed all my macros where I had code pasted into the parameter that included a forced line break (just hitting enter) is when I was running into the macro disappearing from the rte and the HTML source reflected .
For example,
@{ test }
works while
@{
test
}
would make the macro disappear in the rte. Needless to say, just about all of my macros have this problem since I'm sharing code snippets and I don't know how to go about fixing what is causing this issue. I didn't have a problem with macros in 7.2.8 and I saw in the release notes for 7.3.0 that tinymce was updated to the latest version so maybe it has something to do with that? I really am not entirely sure but I wanted to see if anyone else is running into this issue.
I was able to do a clean install of 7.3.4 and replicate this issue with macro parameter textarea.
Any ideas on how to fix would be so awesomely appreciated. If this is actually a bug, I can submit it on issues, I just wasn't 100% sure.
Thing is I dont think it has anything to do with the text inside the parameter at all except for when I hit enter that is when it breaks. I tried it with multiple entries just to make sure but the same text works until I hit enter and then it breaks.
Yup, can't handle multiline all of the sudden - That's why my colleague had to fix it using a custom .dll since it broke a rather large site unfortunately. Not sure he have had time to report anything yet though so if you're up for it I think that would be ace :)
umbraco rte macros with textarea parameters that have a line break disappear in editor
I noticed that when I upgraded from 7.2.8 to 7.3.1 that my macros in the rte with textarea parameters disappeared.
Upon troubleshooting, I noticed all my macros where I had code pasted into the parameter that included a forced line break (just hitting enter) is when I was running into the macro disappearing from the rte and the HTML source reflected .
For example,
works while
would make the macro disappear in the rte. Needless to say, just about all of my macros have this problem since I'm sharing code snippets and I don't know how to go about fixing what is causing this issue. I didn't have a problem with macros in 7.2.8 and I saw in the release notes for 7.3.0 that tinymce was updated to the latest version so maybe it has something to do with that? I really am not entirely sure but I wanted to see if anyone else is running into this issue.
I was able to do a clean install of 7.3.4 and replicate this issue with macro parameter textarea.
Any ideas on how to fix would be so awesomely appreciated. If this is actually a bug, I can submit it on issues, I just wasn't 100% sure.
Thank you!
No real idea, but at a wild guess, maybe this is related? http://issues.umbraco.org/issue/U4-7477
cheers,
doug.
Hi guys
For what it's worth I can confirm that it is indeed a new bug since one of my colleagues have been struggling with the same issue today.
Think he solved it by doing a custom .dll but that's just out of necessity to please our client.
/Jan
Thing is I dont think it has anything to do with the text inside the parameter at all except for when I hit enter that is when it breaks. I tried it with multiple entries just to make sure but the same text works until I hit enter and then it breaks.
Attached a pic for reference.
Yup, can't handle multiline all of the sudden - That's why my colleague had to fix it using a custom .dll since it broke a rather large site unfortunately. Not sure he have had time to report anything yet though so if you're up for it I think that would be ace :)
/Jan
Just FYI: It looks like it is a bug so I went ahead and reported it on issues here: http://issues.umbraco.org/issue/U4-7533
is working on a reply...