1

Topic: Style "word-break" will be replaced with "-ms-word-break" in IE

Version: TinyMCE 4.1.2  above (including 4.1.9)

Broswer: IE11

When saving below HTML in TinyMCE in IE11,
<p>
  <a style="word-break: break-all;" href="mailto:abc@pg.com"
  data-mce-style="word-break: break-all;"
  data-mce-href="mailto:abc@pg.com">abc@pg.com</a>
</p>

the result will always be:

<p>
  <a style="-ms-word-break: break-all;" href="mailto:abc@pg.com"
  data-mce-style="word-break: break-all;"
  data-mce-href="mailto:abc@pg.com">abc@pg.com</a>
</p>

There is additional "-ms-" after the saving, I don't want it as some tables will be cut off with this "-ms-word-break: break-all;" attribute in IE11 and Chrome. The tables are looks good with attribute "word-break: break-all;".
Why the style is replaced? How to avoid this replacement?

Thanks

Hank

Last edited by Hank (2015-04-28 09:38:18)