Add option to disable "smart" quotes

Release notes

Problem to solve

GitLab supports smart quotes in the Markdown editor. By smart quotes I mean that if text is selected and a user types ' or ", the quotes will be inserted surrounding the selected text instead of replacing the text selection.

Many people like this, but personally I don’t I and would like to disable it altogether. I want to keep default behaviour of my keyboard layout when typing GitLab issues. For me this means the text selection will be replaced with the character key I press. There’s no difference between for example the A key or '.

Apart from that these smart quotes break undo (CTRL+Z) behaviour.

Intended users

User experience goal

Let users decide how their keyboard should behave.

Proposal

Add an option to enable smart quotes in user settings. I think this should be enabled by default, because this is the current behaviour.

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references