Preview controller and AJAX method no longer work to add CSS or JS to CKEditor iframes

Created on 27 November 2019, over 5 years ago
Updated 17 February 2023, about 2 years ago

At some point it looks like core's CKEditor switched to using iframes by default. This means that when the add_css AJAX command runs, the additional CSS gets added to the root document's head, and not the CKEditor iframe's head, so the styles don't actually load in the editor.

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024