PDA

View Full Version : HtmlEditor cannot use CSS styles



starbuck_1979
8 Jun 2011, 1:08 AM
Hi,

When using ExtJS HtmlEditor, I see that the font sizes are set using a set of numbers from 1-6.

For e.g.:
<font size="2">Hello World</font>

Is it possible for me to change it to use the following method instead:
<span style="font-size: 8px;">Hello World</span>

jay@moduscreate.com
8 Jun 2011, 4:48 AM
I think it's the MIDAS system, not Ext JS that is doing all of that.

http://www-archive.mozilla.org/editor/midas-spec.html

starbuck_1979
9 Jun 2011, 12:46 AM
Thanks for your response! Any idea if there is a way to workaround Midas then?