CF 2018 ckeditor 4 erases or disallows styles

October 30, 2018
Followers: 0 people
3

CF 2018 ckeditor 4 erases or disallows styles

Followers: 0 people
October 30, 2018

We recently transferred an application from a server with CF11 with FCKeditor 2.6.4 to CF 2018 with CKeditor 4.

Everything seems to be perfect except for one thing. When we load content in CKeditor it erases certain styles such as table cell borders. And if I try to reenter the deleted styles in the source, as soon as a swith back to the wysiwyg view, styles are erased. Very annoying.

Is there a filter activated somewhere that filters certain styles? Something I could change in a config file. Or is it simply a bug. Any ideas ?

Also when I right-click in a table cell in ckeditor, the contextual menu only offers the “table properties” option and not the “cell, row and column” options.

I really need help. Thank you in advance.

 

Comments (3)
2018-10-31 16:59:06
2018-10-31 16:59:06

Thanks for your reply. All files required for the editor are transferred except one (tableCell.js) which could explain why table cell properties are not available. I have to investigate.
As for the styles being deleted, it appears that the Advanced Content Filter introduced in 4.1 could be the source of my problem. Probably certain Disallowed Rules are implemented by default. I was able to solve my problem by adding in the config.js file the folowing line of code:
config.allowedContent = true;

Like
(1)
(1)
>
François Brouillet
's comment
2018-10-31 18:44:48
2018-10-31 18:44:48
>
François Brouillet
's comment

Cool. Thanks for the update and additional info.

Like
(1)
2018-10-31 13:29:02
2018-10-31 13:29:02

Have you viewed the page with your browser’s developer tool enabled, watching its network tab, to see if some files used in the rendering of the page are failing?

Like
(1)
Add your comment