Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using the HTML button from the tinymce toolbar to add some html tags to a page. The html is not truely valid because I'm using some jquery and I'm surrounding some html formatting tags with an anchor, as such:
<a href="#" class="jqclass"><h4><strong>my link</strong></h4></a>
When I press "update" to return to the RTF editor and then click the html button again, my new formatting has been stripped.
1. I'm running Umbraco 4.7 (.net 4)
2. I have tidyeditorcontent set to false in my umbraco config
3. In my tinymce config I have my valid elements set to
<validElements><![CDATA[*[*]]]></validElements>
Is there anything I can do to keep it from validating this html and just have it leave what I want??
Hi Sooter,
Maybe this post will help: http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-(tinymce)/allow-any-markup-in-the-tinymce-editor
Cheers,//Sean
That just seems to mention the same two items I had already changed. Thanks though.
Anyone else have any thoughts? I came across this earlier:
http://our.umbraco.org/forum/using/ui-questions/8114-How-to-insert-raw-html-in-RTE
And the next to last comment is leaving me with little confidence. Might have to go with some of the other suggestions in that post.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
HTML getting stripped from html editor
I'm using the HTML button from the tinymce toolbar to add some html tags to a page. The html is not truely valid because I'm using some jquery and I'm surrounding some html formatting tags with an anchor, as such:
<a href="#" class="jqclass"><h4><strong>my link</strong></h4></a>
When I press "update" to return to the RTF editor and then click the html button again, my new formatting has been stripped.
1. I'm running Umbraco 4.7 (.net 4)
2. I have tidyeditorcontent set to false in my umbraco config
3. In my tinymce config I have my valid elements set to
<validElements><![CDATA[*[*]]]></validElements>
Is there anything I can do to keep it from validating this html and just have it leave what I want??
Hi Sooter,
Maybe this post will help: http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-(tinymce)/allow-any-markup-in-the-tinymce-editor
Cheers,
//Sean
That just seems to mention the same two items I had already changed. Thanks though.
Anyone else have any thoughts? I came across this earlier:
http://our.umbraco.org/forum/using/ui-questions/8114-How-to-insert-raw-html-in-RTE
And the next to last comment is leaving me with little confidence. Might have to go with some of the other suggestions in that post.
is working on a reply...