The tables created in CKEditor have the non html5 table attributes such as border, cellspacing and others. These attributes are now obselete in HTML5.
Checked in the demo and the latest version also has the same. But, in HTML5 style attributes are used for the same.
Could anybody let me know if CKEditor has these feature or anything(tweak) can be done to make the changes and have everything HTML5 compatible.
Consider this mission critical. Thanks.
We support code deprecated in
We support code deprecated in HTML5 because CKEditor still supports older browsers and various apps that need this. Read this ticket for possible solutions or this post...
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Thanks sebstefanov.
Thanks sebstefanov.
The above solution will only only remove the cellspacing or cellpadding attribute from the table. But, then the table will not have the above attributes. For HTML5 we need to have all those in the style attribute such as "style=border-spacing:XX".
Is there any feature in Ckeditor for this?
Thanks for this good info!
Thanks for this good info! Had been searching for this one for a while.
Maybe this can help? (Thanks
Maybe this can help? Thanks to Oleg. We also started an issue for the documentation, which you can view here...
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
I just made an html5 table.js....
modify in ckeditor.js:
allowedContent:"td th{border-width,border-style,padding,width,height,border-color.......
then use this table.js...
Attachments: