PDA

View Full Version : Html Editor adding redundant html markup



stevo.zilik
9 Feb 2015, 2:49 PM
Hi,

I'm using htmleditor control and when e.g. adding lists, or other 'special formatings', the generated html contains font-size, font families and other unwanted formatting styles.

e.g. the generated html for a <li> looks like:

<li><span style="font-size: 14.6666669845581px;">hh</span></li>

instead of just this:

<li>hh</li>

note that in the htmleditor config, I have disabled both font and fontsize


enableFontSize: false,
enableFont: false,

Any way to stop it from adding the 'style' markup?

Thanks,
Stevo