October 30, 2018
CF 2018 ckeditor 4 erases or disallows styles
Comments
(7)
October 30, 2018
CF 2018 ckeditor 4 erases or disallows styles
(7)

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.

 

7 Comments
2020-02-04 04:10:12
2020-02-04 04:10:12

Ran into a similar issue with my CF 2018 fully patched (Update 7) server. (On my dev Mac & prod Windows server).

Google Dev tools showed failure to load: /cf_scripts/scripts/ajax/ckeditor/skins/moono/editor.css?t=I63C

The quick fix was to back up the ‘moono’ folder, duplicate and rename the ‘moono-lisa’ to ‘moono’.  I’m surprised this wasn’t picked up adobe yet, it’s 2020.

Like
(1)
(3)
>
yaronk@shoesforcrews.com
's comment
2020-02-04 05:21:27
2020-02-04 05:21:27
>
yaronk@shoesforcrews.com
's comment

Hi, Yaron (and very long time, no talk).

About this, did it happen upon doing an update *OF* cf2018? From what update? Or was it a move *TO* CF2018, like Francois had reported?

And either way, is it the same kind of specific action as he reported here, that leads to the error you see? Or is it a request for *any* page using cftextarea?

Or is it perhaps your *own* use of ckeditor? If so, what version?

I’m trying to help narrow down why  Adobe might not have” picked up on this” before now, as you said.

Like
>
Charlie Arehart
's comment
2020-02-07 01:34:57
2020-02-07 01:34:57
>
Charlie Arehart
's comment

Yaron?

Like
>
Charlie Arehart
's comment
2020-03-27 13:38:42
2020-03-27 13:38:42
>
Charlie Arehart
's comment

CF 2018 is shipping that way.  The original moono folder has only a single file in it.  His solution works perfectly, all the needed files are in the moono-lisa folder.

Dave

Like
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 Comment