- Issue created by @Thomas Kaisuka
- 🇮🇱Israel rhayun
ckeditor5.js?sy999q:467 TypeError: Cannot read properties of undefined (reading 'check')
at new n (editorAdvancedImage.js?v=10.5.0:1:4237)
at d._createForm (editorAdvancedImage.js?v=10.5.0:1:6521)
at d.init (editorAdvancedImage.js?v=10.5.0:1:5951) - First commit to issue fork.
- Merge request !21#3530984: Compatibility with CKEditor 45 (Drupal 10.5) → (Open) created by lisotton
- 🇧🇪Belgium lisotton Brussels
I created a MR making it compatible with CKEditor 45.
- 🇮🇹Italy paco11
I had the same issue. While waiting for a common solution, I simply disabled the module in the text format settings instead of fully uninstalling it.
- 🇧🇪Belgium lisotton Brussels
@paco11 have you tried to apply the patch from the MR?
- 🇮🇹Italy paco11
I have not applied any patches, but simply switching to Drupal 10.5 ckeditor 5 and php 8.31 and php 8.3, still causes the same problem.
- 🇺🇬Uganda Thomas Kaisuka
@liston,
The patch does not work for both Drupal 10.5 and Drupal 11.2.1 that just came out a few hours ago.
- 🇺🇸United States joshuautley
Same issue here with Version: 3.0.1. Uninstalling the module allows the editor to reappear. Running Drupal 10.5.0 with PHP 8.3.22
- 🇺🇸United States CMS_MacGyver
Made changes from MR and rebuilt js/build/editorAdvancedImage.js
This fixed the error on 10.5.0, but I haven't tested on 11.2.x yet
- 🇮🇹Italy paco11
Patch --> editorAdvancedImage.js
find
this.cancelButtonView = this._createButton(Drupal.t("Cancel"), t.icons.cancel, ...),
edit
this.cancelButtonView = this._createButton(Drupal.t("Cancel"), null, "ck-button-cancel", "cancel"),I solved it but it needs to be tested
- 🇮🇹Italy paco11
Solution #14 works for me width all version 10.5.1 and 11.2.2 and every browser
- 🇺🇸United States robbt
I have tested the patch at https://git.drupalcode.org/project/editor_advanced_image/-/merge_request... by @lisotton and it worked for 10.5 - I would make this RTBC but someone should check that it also works under D11 as #11 indicated there maybe a problem there.
This same issue applies to the 2.x branch as well as I had the 10.5 update break CKEditor 5 due to this bug.
- 🇺🇬Uganda Thomas Kaisuka
Problem fixed in 10.5 but still persistent in 11.2.2 unless i disable the balloon
- 🇨🇭Switzerland wengerk Lausanne
Thanks to all of you for contributing and fixing the module since last CK5 update.
I'll be back from holiday at the end of July - I would merge with please MR/Patch that passes all the tests in the meanwhile, otherwise I will work on it when I'm back to my computer :)