Hi,

It seems that nicEdit, by default, outputs tags with CSS inside instead of proper XHTML tags.
How can I get Wysiwyg to make the nicedit XHTML plugin to work ?

Thanks

Comments

artscoop’s picture

Ok, I've found what's wrong.
There are case typos in the nicedit.js that make the feature break in Firefox (but not in IE)

Edit : Firefox seems not to support contentEditable :(

twod’s picture

Status: Active » Fixed

The contentEditable bug is 'documented' at http://nicedit.com/forums/viewtopic.php?f=4&t=3464&p=4391&hilit=contente.... We can't fix that in Wysiwyg module but thanks for pointing it out.

The optional XHTML plugin can be enabled using the technique described in #313497: Allow configuration of advanced editor settings, comment #30, which allows you to inject the 'xhtml' setting. Note however that it's an experimental plugin and quite buggy as noted on http://wiki.nicedit.com/XHTML+Compliant+Output.
I don't think we should officially support this option/plugin in its current state if there's a risk of causing more damage to the content than invalid XHTML would...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.