Closed (fixed)
Project:
Wysiwyg
Version:
6.x-2.x-dev
Component:
Editor - nicEdit
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2009 at 18:01 UTC
Updated:
5 Dec 2009 at 23:10 UTC
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
Comment #1
artscoop commentedOk, 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 :(
Comment #2
twodThe 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...