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
I changed inline markup show from mousedown to mouseup. The cursor issue was not caused by mousedown.
Another issue: hidden link text was selected by accident. For [Joplin website](https://joplinapp.org), user sees only Joplin website, but CodeMirror sees full Markdown. Small mouse move could select hidden end part, like [Joplin website|](https://joplinapp.org)|. After Markdown was shown, hidden selection became highlighted text. Fix: on mouseup, if selected text is only hidden text, change it back to one cursor before showing Markdown.
Another issue: cursor did not go to the link end. After the hidden-selection fix, clicking at the end of shown Joplin website could still leave cursor before hidden link end: [Joplin website|](https://joplinapp.org). Fix: only for that end-click case, move cursor to full link end: [Joplin website](https://joplinapp.org)|. Middle click still stays inside link text.
Another issue: I also fixed links with space after (, like [label]( url). That space stayed visible while URL was hidden, so end click could put cursor near ( or URL. Fix: hide that space with URL.
I noticed one minor issue with selections, where when the markup reveals on mouseup, the selection is sometimes missing the markdown formatting characters (even though the selection covered the entire word):
Screencast.From.2026-06-27.08-03-19.mp4
edit: there can also be flickering during click and drag when the selection starts with hidden markdown formatting:
I noticed one minor issue with selections, where when the markup reveals on mouseup, the selection is sometimes missing the markdown formatting characters (even though the selection covered the entire word):
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
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.
Resolves #15763
I changed inline markup show from mousedown to mouseup. The cursor issue was not caused by mousedown.
Another issue: hidden link text was selected by accident. For
[Joplin website](https://joplinapp.org), user sees onlyJoplin website, but CodeMirror sees full Markdown. Small mouse move could select hidden end part, like[Joplin website|](https://joplinapp.org)|. After Markdown was shown, hidden selection became highlighted text. Fix: on mouseup, if selected text is only hidden text, change it back to one cursor before showing Markdown.Another issue: cursor did not go to the link end. After the hidden-selection fix, clicking at the end of shown
Joplin websitecould still leave cursor before hidden link end:[Joplin website|](https://joplinapp.org). Fix: only for that end-click case, move cursor to full link end:[Joplin website](https://joplinapp.org)|. Middle click still stays inside link text.Another issue: I also fixed links with space after
(, like[label]( url). That space stayed visible while URL was hidden, so end click could put cursor near(or URL. Fix: hide that space with URL.Screen.Recording.2026-06-26.at.11.38.48.PM.mov