- Issue created by @Mav-im
- last update
over 1 year ago 2 fail - Status changed to Needs review
over 1 year ago 7:58pm 11 July 2023 - πΊπΈUnited States pcate
I ran into this same issue with a Drupal 10 upgrade. A text format didn't have the source editing enabled and CKEditor was failing to load on pages where it was used. The following error was printing in the browser console.
ckeditor5.js?s2u53n:477 CKEditorError: plugincollection-soft-required {"missingPlugin":"SourceEditing","requiredBy":"SourceEditingCodeMirror"} Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-plugincollection-soft-required at ckeditor5-dll.js?v=39.0.1:5:99918 at ckeditor5-dll.js?v=39.0.1:5:100062 at Array.forEach (<anonymous>) at u (ckeditor5-dll.js?v=39.0.1:5:99864) at ckeditor5-dll.js?v=39.0.1:5:98495 at Array.reduce (<anonymous>) at e (ckeditor5-dll.js?v=39.0.1:5:98446) at l.init (ckeditor5-dll.js?v=39.0.1:5:98571) at D.initPlugins (ckeditor5-dll.js?v=39.0.1:5:105102) at editor-classic.js?v=39.0.1:4:9630 (anonymous) @ ckeditor5.js?s2u53n:477 Promise.catch (async) attach @ ckeditor5.js?s2u53n:471 Drupal.editorAttach @ editor.js?v=10.1.5:302 (anonymous) @ editor.js?v=10.1.5:226 attach @ editor.js?v=10.1.5:209 (anonymous) @ drupal.js?v=10.1.5:166 Drupal.attachBehaviors @ drupal.js?v=10.1.5:162 (anonymous) @ big_pipe.js?v=10.1.5:118 (anonymous) @ big_pipe.js?v=10.1.5:138 12:14:35.818
The patch resolved the issue.
Not setting to RTBC since there are failing tests, but I think the fix is correct.
- last update
12 months ago 2 fail The last submitted patch, ckeditor_codemirror__add_dependency_of_sourceEditing.patch, failed testing. View results β
- Status changed to Needs work
9 months ago 2:08pm 7 March 2024 - π¨π¦Canada dstorozhuk Chicago πΊπΈ, Toronto π¨π¦, Kyiv πΊπ¦
I think module should not load code mirror plugin is source code plugin is not enabled for particular Text format configuration.
- πΊπΈUnited States jesss
Can confirm that I was seeing the same behavior (CKEditor would not load if CodeMirror plugin/Source Code button disabled). This patch resolves the issue.
- Status changed to Fixed
4 months ago 2:12pm 13 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.
- π¨π¦Canada joseph.olstad
Just hit this, thanks for the fix. Upgrading now.