Hello!
I wish to add html 4 code but my editor is changing it to html 5, deleteing all html 4 tags and options.
It changes this:
<table width="700" align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top" width="10" align="center"><br>
</td>
<td valign="middle" width="680" align="center">
<span style="font-family: Arial,Verdana; color: rgb(204, 204, 204); font-size: 11pt;">hello!</span>
</td>
<td valign="top" width="10" align="center"><br>
</td>
</tr>
<tr>
<td colspan="3" valign="middle" width="700" align="left"><br><span> </span>
</td>
</tr>
</tbody>
</table>
to this:
<table align="center" border="0" cellpadding="0" cellspacing="0" style="width:700px">
<tbody>
<tr>
<td> </td>
<td><span style="color:rgb(204, 204, 204); font-family:arial,verdana; font-size:11pt">hello!</span></td>
<td> </td>
</tr>
<tr>
<td colspan="3"><br />
</td>
</tr>
</tbody>
</table>
i know its old code but i need it pretty munch!
Thanks for help.
You might need play around
You might need play around with the Data Processor, Writer and a bunch of other stuff probably. Not an easy task. You should check out the BBCode plugin since it works on the same principle. Also turn off ACF. It's probably striping out certain tags.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!