portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

CF 2018 ckeditor 4 erases or disallows styles

| View in Portal
October 30, 2018 06:54:16 PM GMT
3 Comments
<p>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? […]</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2018/10/cf-2018-ckeditor-4-erases-or-disallows-styles/">CF 2018 ckeditor 4 erases or disallows styles</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: ColdFusion, Question, Troubleshooting, question, troubleshooting

Comments:

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?
Comment by Charlie Arehart
1326 | October 31, 2018 01:29:02 PM GMT
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;
1331 | October 31, 2018 04:59:06 PM GMT
Cool. Thanks for the update and additional info.
Comment by Charlie Arehart
1333 | October 31, 2018 06:44:48 PM GMT