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.79k stars 3.64k forks source link

Pasting table from Word inserts additional column #16079

Open FilipTokarski opened 4 months ago

FilipTokarski commented 4 months ago

📝 Provide detailed reproduction steps (if any)

  1. Open sample Word document - sample_table_1.docx
  2. Select all and copy
  3. Paste into Paste from Office or Paste from Office Enhanced demo.

✔️ Expected result

Table has the same structure as in the original document.

❌ Actual result

Table has one additional column.

Document:

Screenshot 2024-03-22 at 11 53 05

Editor: Screenshot 2024-03-22 at 11 53 09

📃 Other details


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

Witoso commented 4 months ago

The cells are defined in the MS Word clipboard output

<td style='height:14.55pt;border:none' width=0 height=15></td>

To investigate why, and what can we do about it.