lundi 9 février 2015

Html Editor adding redundant html markup

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



Code:



enableFontSize: false,
enableFont: false,

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

Thanks,

Stevo






Html Editor adding redundant html markup

Aucun commentaire:

Enregistrer un commentaire