Saturday, 15 February 2014

TinyMCE and table borders -



TinyMCE and table borders -

in latest tinymce 3.5.8 seems there's slight bug creating new table.

clicking new table button, setting border, border color, , background color yields result:

<table style="border-color: #39f30b; border-width: 4px; background-color: #f30b22; width: 250px; height: 135px;" border="4"> <tbody> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table>

right clicking on table, selecting table proeprties, not doing else , hitting apply, changes markup this:

<table style="border-color: #39f30b; border-width: 4px; background-color: #f30b22; width: 250px; height: 135px; border-style: solid;" border="4"> <tbody> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table>

the problem first 1 missing border-style: solid; initial table, missing border-style: solid; breaking ie9, , affecting display in firefox.

is there sort of setting or patch prepare this?

tinymce

No comments:

Post a Comment