Ted Vinke wrote:
Somehow every 'class'-attribute is stripped from every element in HTML text, whenever it's saved in a MMBase 1.7.3. editwizard HTML-field (ftype="html").

You can see every 'class'-attribute actually be removed from the text when a HTML-field is switched to TEXT MODE and the "Save" command is pressed at the bottom of the screen.

Is this a bug or feature, of can this behaviour be changed somewhere?
Hi Ted,

This is a feature. The old wysiwyg editor from the editwizard only supported mimimal markup. We reduced the functionality of the htmlarea (http://www.dynarch.com/projects/htmlarea/) to be compatible with this old editor.
See the htmlarea/my-htmlarea.js for the mmbase specific code. There is a function clean(value) which removes everything.


Nico
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to