JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.67k stars 308 forks source link

Multiple CSS classes #1318

Open bobwoofix opened 9 months ago

bobwoofix commented 9 months ago

It would be enormously helpful if we could add multiple CSS classes instead of just one class name -- it is very important to us that the styling of the editor is exactly the same as the text being edited so we retain the WYSIWYG aspect of it.

i.e. option 'classname' should be 'classnames' with an array of classnames - e.g.

classnames: { 'classname1', 'classname2', 'etc' }