When editing a page cursor navigation with arrow keys is inconsistent with respect to inline code · Issue #5267 · outline/outline · GitHub
More Web Proxy on the site http://driver.im/
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
Usually the arrow keys move the cursor one character, but for inline code the behavior is inconsistent.
To Reproduce
I made a small screenshot that contains written instructions on what is happening.
Screen.Recording.2023-04-27.at.15.27.49.mov
Similar issues show up when the cursor is at the beginning of inline code.
Expected behavior
Since moving around elsewhere is also possible with a single arrow key stroke, the expectation is that leaving inline code also takes only one keystroke. Or at least consistent behavior, or visual indication.
Outline (please complete the following information):
Tried to find workaround and found another weird behavior. Dropping this screencapture here because I am not sure if it is the same issue. Sorry for being a little spammy :-(
This is maybe related, maybe not, can make a different ticket for it if necessary.
If:
Two users are editing a file
You start typing in a code block
You end that code block by typing the final backtick
The other user types something that causes the document to change
You start typing again
...the thing you type in the final bulletpoint will actually be formatted as code, as if you had never closed the code block. You can't use any of the little tricks (like using the right-arrow to skip "outside" the code block) mentioned/alluded to above to get out of the situation, either.
EDIT: Sorry, I'm also on self-hosted (v.0.68.1). Can try upgrading this weekend to see if the problem still persists.
Usually the arrow keys move the cursor one character, but for inline code the behavior is inconsistent.
To Reproduce
I made a small screenshot that contains written instructions on what is happening.
Screen.Recording.2023-04-27.at.15.27.49.mov
Similar issues show up when the cursor is at the beginning of inline code.
Expected behavior
Since moving around elsewhere is also possible with a single arrow key stroke, the expectation is that leaving inline code also takes only one keystroke. Or at least consistent behavior, or visual indication.
Outline (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: