ckeditor5
ckeditor5 copied to clipboard
Formatting, for example font color, is lost when all content is removed / Preserve font styles / Change default font
📝 Provide detailed reproduction steps (if any)
- Enter some text into the content area
- Apply some formatting, change font size, color etc.
- Delete all that content
- 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.