Skip to content

Desktop: Remove auto-indent for in note html/xml #3374

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

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

CalebJohn
Copy link
Contributor

This just checks the current mode while pressing enter and disables the auto-indent for html outside of code blocks. The unfortunate consequence of this is that an indent inserted by the user will not be followed, although I'm not sure if that's really a big issue.

[Reference from the forum]

html/xml inside of a codeblock will still benefit from auto-indent
@laurent22 laurent22 merged commit 2f15178 into laurent22:master Jun 16, 2020
@CalebJohn CalebJohn deleted the html-indent branch June 16, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants