ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

insertcontent-invalid-insertion-position when pasting html

Open mml90 opened this issue 2 years ago • 1 comments

📝 Provide detailed reproduction steps (if any)

  1. save this html snippet and open it in the browser: <table><tr><td></td></tr></table><br><table><tr><td></td></table>
  2. select all and copy
  3. paste it at https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html

✔️ Expected result

It should paste a table followed by a paragraph and another table.

❌ Actual result

Uncaught CKEditorError: insertcontent-invalid-insertion-position: Screenshot from 2024-04-02 20-25-30

📃 Other details

  • Browser: tested on Chrome and Firefox v123

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

mml90 avatar Apr 02 '24 23:04 mml90

Fixed by https://github.com/ckeditor/ckeditor5/pull/16704

mml90 avatar May 19 '25 18:05 mml90