If I typo a single or double quote in the wysiwyg composer then it takes two backspaces to remove instead of one, breaking typing flow.
Is this really a bug?
When you type ' or ", we auto-convert it to ‘ or “, to match how it will be cooked. If you really want to keep the originally typed character, you backspace once.
This is the same rule for most other input rules – when text input is converted to something else, it can usually be undone with the backspace.
We can make these smart quotes not undoable, in this case the backspace would just remove it, but if you type " again, it will be converted again, making it impossible to type the unconverted version – probably not an issue.
Another option is… just dropping smart quote replacement altogether in the rich editor, meaning we wouldn’t have the correct preview of them before posting.
@lindsey thoughts?
Ah, I didn’t even notice that it was converted to a smart quote automatically.
I don’t really see this as a bug, either, but an auto-correct which is following the existing conventions in terms of how it’s undone (single backspace).
I’m not comfortable with this option:
I think it is important for the rich editor to present an accurate preview of what content will look like when posted. That was a large motivator for working on this project, to make writing more familiar and predictable for those not well-versed or comfortable with Markdown.