Closed (fixed)
Project:
CKEditor5 Highlight
Version:
1.1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2023 at 12:39 UTC
Updated:
2 Dec 2023 at 13:24 UTC
Jump to comment: Most recent
Comments
Comment #2
mahdeI am getting the same error with Drupal 10.1.5!
Comment #3
mahdeI fixed this by re-building the highlight.js file with the new version of "@ckeditor/ckeditor5-highlight": "~40.0.0" and "@ckeditor/ckeditor5-theme-lark": "~40.0.0", "ckeditor5": "~40.0.0" in the package.json file.
Hope to get this fixed in this module. Thanks!
Comment #4
arisenI am getting the same error on Drupal 10.1.5. The fixes mentioned in #3 works perfectly fine.
Verified if the fixes are compatible with Drupal 9.5.11. It isn't working. Throwing error
Checking if any possible fixes for both Drupal 9 and 10.
Comment #5
jmcintyre commentedUpdated dependency versions as mentioned in #3 and rebuilt highlight.js.
jmcintyre made their first commit to this issue’s fork.
Comment #7
godotislateCreated MR 2 https://git.drupalcode.org/project/ckeditor5_highlight/-/merge_requests/2 from @jmcintyre's commit.
Patch can be downloaded from the MR plain diff: https://git.drupalcode.org/project/ckeditor5_highlight/-/merge_requests/...
Comment #8
el7cosmosI think we should match 10.1 core's ckeditor5 version, which is
39And yes, that won't work for <10.1, so this have to go to
1.1.xbranchComment #9
godotislateChanged package.json dependencies to version
39.0.0, and target branch in the MR to1.1.x. Looks like1.1.xis behind1.xright now, so can change target branch back if needed.Also, rebuilt the JS, but there's no difference between the 40 build and 39 build.
Comment #10
fonant commentedUsing plain diff from MR 2 as a patch works to make the button work here :)
Comment #12
el7cosmos