Add auto-closing pairs and list continuation to textStokes (Markdown-Editor-like behavior)#1489
Draft
demhauke wants to merge 4 commits into
Draft
Add auto-closing pairs and list continuation to textStokes (Markdown-Editor-like behavior)#1489demhauke wants to merge 4 commits into
demhauke wants to merge 4 commits into
Conversation
Collaborator
|
I'm not fully convinced of the current implementation. There are cases where this can be annoying instead of helping
I don't know how much we can fix without actually adding somehow a concept of bullet points to the text field (and associated settings) in a word/office-like manner. |
Contributor
|
it would be nice to have a markdown-like list, but maybe put the functionality behind a button so it doesn't get in the way when using the text field for the purposes listed above. |
Contributor
|
Maybe make this feature optional. So if the user wants it, he can activate it in the settings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR introduces two main improvements to text editing behavior:
Auto-closing pairs
When the user types an opening character such as (, [, {, ", or ', the corresponding closing character is automatically inserted.
Automatic list continuation (Bullet points(Lists) #1315)
When the user presses Enter after a line starting with a bullet or indentation (e.g., -, *, or similar), the next line will automatically include the same prefix.
before
before.mp4
after.mp4