You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Setext-style Headers causes the Editor to function in unexpected ways.
2022-10-07.08-57-58.mp4
Steps to Reproduce
Use Setext-style headers in the document editor
Press enter to trigger Header line decoration
Type more stuff
Try to backspace/highlight to delete text.
Possible Solution (Not obligatory)
My guess is this has to do with the widget decorations used to hide and decorate ATX style header markup, which does not work effectively with Setext-style headers. See app/renderer/components/codemirror/extensions/hideMarkdown.ts for where we do the markup replacement. See the codemirror documentation for how this works.
The text was updated successfully, but these errors were encountered:
Prerequisites
main
branchExpected Behavior
Editor Functions as expected.
Current Behavior
Using Setext-style Headers causes the Editor to function in unexpected ways.
2022-10-07.08-57-58.mp4
Steps to Reproduce
Use Setext-style headers in the document editor
Press enter to trigger Header line decoration
Type more stuff
Try to backspace/highlight to delete text.
Possible Solution (Not obligatory)
My guess is this has to do with the widget decorations used to hide and decorate ATX style header markup, which does not work effectively with Setext-style headers. See
app/renderer/components/codemirror/extensions/hideMarkdown.ts
for where we do the markup replacement. See the codemirror documentation for how this works.The text was updated successfully, but these errors were encountered: