Page 1 of 1

[SOLVED] MIcrotiny deletes blank SPAN

Posted: Mon Nov 04, 2013 10:19 pm
by nervino
Hi All,
if I put a blank <span class="dropcap_holder"></span> in the content's textarea of a cmsms page, with the wysiwyg toggled off, and then I toggle the wysiwyg on, the SPAN disappears.
The only way I've found to save the page, maintaining the empty span, with wysiwyg ON, is to insert a

Code: Select all

&nbsp;
inside it, in this way:

Code: Select all

<span class="dropcap_holder">&nbsp;</span>
I think it is a Microtiny's bug. Am I right? Is there any fix for this?

Thank you

Massimiliano

Re: MIcrotiny deletes blank SPAN

Posted: Mon Nov 04, 2013 10:33 pm
by calguy1000
Not a bug.

The tinymce editor deletes empty elements. That's what it does. Doesn't matter if they have a class or not,

edited: tinymce is not intended for design but for content, it is intended to give out clean content... WYSIWYG editors are not HTML editors. Though because they output a subset of html that may be a bit confusing to some people.

Re: MIcrotiny deletes blank SPAN

Posted: Tue Nov 05, 2013 8:29 am
by nervino
I see. Thanks.