Automatically closed - issue fixed for 2 weeks with no activity.
- 🇪🇬Egypt Mohamed.Osama Egypt
For me, the issue was from the conditional_fields → module
Applying this patch → to remove the Ckeditor as dependency is fixed it
I have updated my Drupal instance from 9.4.8 to 9.5.0 and at the same time migrated the CKEditor to version 5. Apparently everything worked, CKEditor was recognised and output in my desired fields.
Since I used the module ckwordcount → under CKEditor 4, but it is no longer compatible with CKEditor 5, I looked around for alternatives.
I discovered the module Maxlength → , installed, configured, and the desired information was immediately displayed when editing the node.
However, I was surprised that the counting of letters did not work and also the hard blocking of further entries. At first I thought that it was incompatible, until I looked in the dev tool and found many *.js errors.
GET https://domain.tld/core/assets/vendor/ckeditor/config.js?t=M2GD net::ERR_ABORTED 404
Refused to execute script from 'https://domain.tld/core/assets/vendor/ckeditor/config.js?t=M2GD' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
ckeditor.js?v=4.18.0:253 Uncaught Error: [CKEDITOR.resourceManager.load] Resource name "default" was not found at "https://domain.tld/core/assets/vendor/ckeditor/styles.js?t=M2GD".
at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.resourceManager.<anonymous> (ckeditor.js?v=4.18.0:253:334)
at n (ckeditor.js?v=4.18.0:248:455)
at Array.v (ckeditor.js?v=4.18.0:249:93)
at x (ckeditor.js?v=4.18.0:249:177)
at CKEDITOR.env.ie.d.$.onerror (ckeditor.js?v=4.18.0:250:200)
At first I assumed that it was due to the Maxlength module, which I deactivated/uninstalled. But the errors in the dev tool remained.
The strange thing is, the CKEditor 5 works without problems when editing content, also the available plugins and that although the library itself cannot be loaded.
I was able to fix the problem after I reactivated CKEditor 4. The errors are gone, so the problem seems to be that the config.js for version 4 still wants to be loaded, although the module is already deactivated and no longer configured in the text formats.
Does anyone have an idea/tip on how to fix this problem?
Fixed
9.5
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.
For me, the issue was from the
conditional_fields →
module
Applying
this patch →
to remove the Ckeditor as dependency is fixed it