Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Getting this error when trying to enable code mirror with CKEditor 5 and Drupal 9.3
Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "ckeditor_codemirror_codeEditor" CKEditor 5 plugin definition is configurable, but its default configuration does not match its config schema. The following errors were found: [options] The configuration property Show line numbers doesn't exist. in Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition->validateDrupalAspects() (line 189 of /app/web/core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php).
Comment | File | Size | Author |
---|---|---|---|
#4 | test.patch | 0 bytes | drumm |
#3 | test.patch | 0 bytes | drumm |
Comments
Comment #2
wellsYeah support is not there yet and it’s unclear if it will be possible right now. See #3243437: Add CodeMirror support for CKEditor 5. I haven’t had time to delve any deeper in to this and probably won’t any time soon so contributions are welcome.
Comment #3
drummComment #4
drummComment #5
drummSorry for the noise, I typoed being on a dev site.
Comment #6
wellsWork is ongoing in #3243437: Add CodeMirror support for CKEditor 5 -- the CKEditor 5 version is now installable in Drupal 10 and I'll update to support Drupal 9 as well once #3238333: Roadmap to CKEditor 5 stable in Drupal 9 lands.