Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Issue whith TinyMCE 2 and inline blocks

$
0
0

We have problem with Tinymce : when you drop a block in a XHTML it has div tags around it even if the block in view mode is only showing a value.

Tinymce adds p tag around witch results in wrong html for the property.

I managed to add a setting to tinymce but it's only working when the editor drops the block.

When editing a xhmtl with a block in it, Tinymce changes the html despite the setting:  .AddSetting("valid_children", "+p[div]") .

Has someone managed to solve the problem with block div in p tags in xthml properties?


Viewing all articles
Browse latest Browse all 9076

Trending Articles