ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
8.28k stars 3.59k forks source link

Loading plugins in this order crashes: ImageBlock, ImageStyle ImageInline #16283

Open pomek opened 3 weeks ago

pomek commented 3 weeks ago

📝 Provide detailed reproduction steps (if any)

Create an editor with the following plugins in the exact order:

  1. ImageBlock
  2. ImageStyle
  3. ImageInline

✔️ Expected result

No errors.

❌ Actual result

CKEditor5Preview.tsx:155 Uncaught CKEditorError: schema-cannot-extend-missing-item {"itemName":"imageInline"}
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-schema-cannot-extend-missing-item
    at th.extend (schema.ts:146:10)
    at gT._setupConversion (imagestyleediting.ts:100:11)
    at gT.init (imagestyleediting.ts:68:8)

Stack comes from the latest nightly (0.0.0-nightly-20240424.0) (the editor created using new installation methods).