3
Vote

TinyMCE should not strip HTML code

description

Actually tinyMCE removes all the <span class='myclass' /> and they are more and more used for css rules...
See
https://orchard.codeplex.com/workitem/19756

comments

CSADNT wrote May 31, 2013 at 5:43 AM

I tested CKEditor 3.6.2, same pb.
Finally I took Telerik KendoUI Editor in version Web Open Source and it works perfectly.
Expecting the new media picker soon to try connecting it.

CSADNT wrote Nov 22, 2013 at 12:01 PM

No news here ?

Jetski5822 wrote Jun 23 at 9:44 PM

I think the option here is to add extension points to the admin screens to allow this to be overridden, and to leave the defaults as is.

I think something "similar" to this: https://orchard.codeplex.com/workitem/18780

CSADNT wrote Jun 24 at 1:04 AM

I think it is more a bug of tiny mce.
The more bootstrap will be used with orchard the more people will see that their html is broken by orchard editor. This empty span construct is very frequent in bs.
I found a turn around using a null empty html char in the span. But it necessitates patching all normal bs construct you could find in a template.

CSADNT wrote Jun 24 at 1:32 AM

CSADNT wrote Jun 24 at 1:33 AM

This blog ... My phone is crazy...

CSADNT wrote Jun 24 at 1:45 AM

To be more clear concerning the empty span pb I use this special char ‌ the zero space non joiner.

CSADNT wrote Jun 24 at 7:17 AM

&zwnj;
& z w n j ;

CSADNT wrote Sun at 9:41 AM

Concerning TinyMCE upgrade, it is time now that the span pb be solved.
If you use bootstrap and fontawsome, this is mandatory or you crash all your pages.

This blog solution looks good
http://www.hrefstudios.com/blog/orchard-cms-how-to-add-font-awesome-functionality-to-tinymce