Desktop,Mobile: Add setting to disable markup autocompletion #11222
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds a setting to disable markup autocompletion, as requested on the forum.
Note
This pull request builds on #11221 — a new CodeMirror API is required to disable HTML tag autocomplete.
Screen recording
Screencast.from.2024-10-16.08-29-41.webm
Note: The screen recording shows the new setting with a different label. The setting label was changed in 3f1d42b.
Testing plan
Desktop (Fedora 40) and Android 13:
<div>
.</div>
closing tag was not inserted automatically.<div>
.)
has been inserted.1.
instead of2.
).(
. Verify that no closing)
is added.<div>
. Verify that a closing</div>
is added.