- š§šŖBelgium wim leers Ghent š§šŖšŖšŗ
Like I wrote 2 years ago in #12: this issue is now effectively obsolete.
Thanks to this:
ckeditor5_imageUpload: ckeditor5: ā¦ drupal: ā¦ conditions: imageUploadStatus: true plugins: [ckeditor5_image]
However, this only solved it for ckeditor5 text editor plugins.
Thanks to āØ [PP-1] Mark parts of CKEditor 5 and Editor config schema as fully validatable Postponed , we can now actually enforce this for all text editor plugins! We could do something like:
diff --git a/core/modules/editor/config/schema/editor.schema.yml b/core/modules/editor/config/schema/editor.schema.yml index 0c0278b715..22817c666c 100644 --- a/core/modules/editor/config/schema/editor.schema.yml +++ b/core/modules/editor/config/schema/editor.schema.yml @@ -23,6 +23,8 @@ editor.editor.*: status: type: boolean label: 'Status' + constraints: + EditorFileReferenceFilterInSync: ~ scheme: type: string label: 'File storage'
Similar to what
\Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5MediaAndFilterSettingsInSyncConstraintValidator
does!