ckeditor / ckeditor5

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

Two sequential <blockquote> elements getting merged #16812

Closed vtulse closed 1 month ago

vtulse commented 1 month ago

We have created a plugin div wrapper wrap paragraphs into

tag using the same code which blockquote using

📝 Provide detailed reproduction steps (if any)

  1. Add 2 the blockquote element sequentially
  2. After saving the data while down casting it merge both elements into single

✔️ Expected result

While-adding-element

❌ Actual result

Post save editing

📃 Other details

  • Installed CKEditor plugins: CKEditor 5 blockquote

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Witoso commented 1 month ago

Hi, please provide some code or reproducible sample. This cannot be yet classified as a bug, as your implementation changed the behavior. Merging block quotes is not reproducible in our demos. Thanks!

vtulse commented 1 month ago

Hello @Witoso This issue I'm facing with CKEditor using inside Drupal CMS You can check how data casting makes issue here https://www.drupal.org/project/drupal/issues/3464368#comment-15703612 Drupal only saves the data to DB rest down casting and up casting handled by CKE5

Witoso commented 1 month ago

If you created a custom plugin, we need to understand how you did it. The issue is not reproducible on our side.

vtulse commented 1 month ago

Yes, this is an issue with our preprocessor function where we are altering the html, closing this for working as expcted