Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: CKEditor5 is not defined #368

Closed
ryansupercool opened this issue Feb 17, 2025 · 1 comment
Closed

ReferenceError: CKEditor5 is not defined #368

ryansupercool opened this issue Feb 17, 2025 · 1 comment
Assignees
Labels

Comments

@ryansupercool
Copy link

Description

We've a client using Safari 15 hitting an issue where Ckeditor doesn't run in Safari 15, looks to be a JS error "ReferenceError: CKEditor5 is not defined".

Can this be fixed? It's an old browser but does fall in the support range.
https://craftcms.com/docs/4.x/requirements.html#control-panel-browser-requirements

Steps to reproduce

  1. In Safari 15 try to add content to a CKeditor field

Additional info

  • Craft version: 4.14.1
  • Plugins & versions: Ckedito:r 3.11.0
@brianjhanson brianjhanson self-assigned this Feb 18, 2025
@brianjhanson
Copy link
Contributor

Thanks for reaching out! While it's true Craft's CP itself supports Safari 15, CKEditor (and therefore this plugin) only supports the latest stable version.

It looks like the culprit of this issue was CKEditor updating their typescript target to es2022 in v42+. We updated our dependencies to v44 in 3.11 so we don't fall too far behind them.

Unfortunately, if you need to support Safari 15 the easiest way would be to stay on 3.10. If you're feeling ambitious, it should be possible to recomplile CKEditor v42+ with the old target but that might be an uphill battle.

I'm sorry I don't have better news for you. I'm going to close this out, but if you have any other questions, let us know.

@brianjhanson brianjhanson closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants