[SOLVED] MIcrotiny deletes blank SPAN

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

[SOLVED] MIcrotiny deletes blank SPAN

Post 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
Last edited by nervino on Tue Nov 05, 2013 8:29 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: MIcrotiny deletes blank SPAN

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

Re: MIcrotiny deletes blank SPAN

Post by nervino »

I see. Thanks.
Post Reply

Return to “CMSMS Core”