-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text transformation: Allow reverting by pressing backspace #10413
Comments
Note: In GDocs and Word backspace behaves like undo – this is – you can redo that change. Note: What about autolinking, auto media embed, etc. |
Resolves: #2364. Also: will resolve the same issue on Mobile where undo may not be that easily available. |
Are we sure about Autoformat yet? |
I'd go without autoformat for now because this will be safer. But, it'd be good to test how this works with autoformat to see whether the UX is good or confusing. Hence, if you could create a PR for the features that we want to cover and then a second draft PR (based on that former PR) for autoformat? |
…text-transformation Feature (typing, image, link, media-embed): Allows using backspace to undo automatic transformations. Closes #10413.
PR to test autoformat: #10508 |
…autoformat Feature (autoformat): Allowed undoing automatic [Markdown-like formatting](https://ckeditor.com/docs/ckeditor5/latest/features/autoformat.html) by pressing <kbd>Backspace</kbd>. See #10413.
📝 Provide a description of the improvement
Currently, we allow reverting an automatic transformation result by pressing undo. It's a separate undo step.
However, it's common among other editors to also allow reverting text transformation by pressing backspace immediately after transformation happened.
It works this way in GDocs and Word:
Note: It's super smart in Word where this 1/2 never gets converted back to a fraction again, even if you remove that space and type it again. However, GDocs doesn't implement this mechanism and you can again trigger transformation again by typing another space. We can do KISS as both options make some sense, plus going in a Word-like direction would require more work.
If you'd like to see this improvement implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: