ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Formatting, for example font color, is lost when all content is removed / Preserve font styles / Change default font

Open Steveiwonder opened this issue 3 years ago • 5 comments

📝 Provide detailed reproduction steps (if any)

  1. Enter some text into the content area
  2. Apply some formatting, change font size, color etc.
  3. Delete all that content
  4. Type new content

✔️ Expected result

I expect to see the newly typed content with the last selected font styles (similar to word, powerpoint, etc)

❌ Actual result

The font has the editors default styles applied

❓ Possible solution

Don't remove the last span element that is the document editor, as this has the style

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

Steveiwonder avatar Sep 12 '21 11:09 Steveiwonder