ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.78k stars 2.46k forks source link

Copy from word num_A 1 renders as numbers in editor #5440

Open starship95 opened 1 year ago

starship95 commented 1 year ago

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Select all from provided word document
  2. ctrl+v inside editor

Expected result

Formatting is retained and heading is displayed as in word document

Actual result

The word articles is removed and random numbers are shown. image

Other details

starship95 commented 1 year ago

Hi, is there any workaround or explanation on why it turns into numbers? @Comandeer

Comandeer commented 1 year ago

@starship95, I'm afraid that there is no sensible workaround for the issue.

As for the explanation, it would require more research but from what I've already seen, Word represents the copied content as a list in the clipboard. After pasting such content into the editor, it remains the list and these numbers are the counter of a single list item.