Open minhtranite opened 5 years ago
In other words, you'd like the format to be preserved even when the entire text that had it was just deleted?
I've just checked that Gmail does it (because Chrome does it natively and Gmail uses nearly native contentEditable). Google Docs does it too. CKEditor 4, TinyMCE, Pages don't do it – they behave like CKEditor 5.
I'm curious about what Word does.
This is a possible change in the behaviour. Perhaps it's even fairly easy to do without changing CKEditor 5's source code. But we'd need to thoroughly analyse this (it's implications) before shipping such a change.
Hi, @Reinmar Can you plz specify me the easy solution to do this without change the CKEditor 5's source code? Thank you.
Hi, @Reinmar I've checked this bug on TinyMCE and it's working quite well. It would be really helpful for clients if we solve this bug. You mentioned that this is possible change. Can you please point us exactly what you mean the easy approach?
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
Seems like maybe instead of no activity in the past year you've actually made improvements. We recently upgraded to version 39 and this behavior is supported (on selecting and replacing text, the formatting is maintained). 🥳
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
Is this a bug report or feature request? (choose one)
🆕 Feature request
💻 Version of CKEditor
It is a custom build from latest version.
📋 Steps to reproduce
✅ Expected result
Keep wrap element and format until content empty and press delete one more time. If continue typing new content will use current format.
❎ Actual result
Element and all format are gone.
📃 Other details that might be useful
This feature work almost like gmail editor.