Our site has a mega menu which is generated via XSLT and the menu items are coded in HTML via a RTE as defined in the document types on the top level pages.
The RTE Data Type used is called "MegaNav Editor" and its using the TinyMCE v3 wysiwyg render control - the same as the default Richtext Editor datatype.
This has worked out perfectly for us, but we just discovered after upgrading to 4.7.1.1 that if we edit and save one of those top level pages - the <div> tags in the RTE for the mega menu are stripped out.
What's odd about this is that we use the default RTE for the main content in our pages and you can insert a <div> tag in those just fine.
Having trouble figuring out what's causing it to strip out the div's.
When Administrators edit the page - the <div> tags stay in place, but when a user who doesn't have Publish permissions saves a page - those tags are stripped out.
Weird RTE Problem
Our site has a mega menu which is generated via XSLT and the menu items are coded in HTML via a RTE as defined in the document types on the top level pages.
The RTE Data Type used is called "MegaNav Editor" and its using the TinyMCE v3 wysiwyg render control - the same as the default Richtext Editor datatype.
This has worked out perfectly for us, but we just discovered after upgrading to 4.7.1.1 that if we edit and save one of those top level pages - the <div> tags in the RTE for the mega menu are stripped out.
What's odd about this is that we use the default RTE for the main content in our pages and you can insert a <div> tag in those just fine.
Having trouble figuring out what's causing it to strip out the div's.
Have a look at /config/tinymcconfig.config
I did a file compare and thought these were the same but maybe not, also check umbracoConfig.config to see what tidyMCE is set to.
Rich
There's no difference between the tinymceconfig.config from the pre-upgrade to the upgraded site.
TidyMCE is set to "True" which is how it has always been set. Why would tidyMCE strip the div tags in one RTE and not another RTE?
In the interim - I'm going to set it to "False" so that at least our menu will display correctly until we can find a better solution.
Still having a problem.
When Administrators edit the page - the <div> tags stay in place, but when a user who doesn't have Publish permissions saves a page - those tags are stripped out.
is working on a reply...