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
With recent changes preventing access to code block edit mode (editing code blocks as plain text outside of CodeMirror), users are no longer able to change the indentation within code blocks using the keyboard shortcuts Tab or Shift+Tab. The current workaround is dragging the block.
Reproduce the Bug
Create or open a code block in the editor.
Attempt to adjust the indentation using Tab or Shift+Tab.
Observe that the shortcuts do not change the indentation as expected.
Expected Behavior
The Tab shortcut should increase the indentation, and Shift+Tab should decrease it within code blocks.
Screenshots
No response
Browser, Desktop or Mobile Platform Information
No response
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
I'm willing to submit a PR (Thank you!)
The text was updated successfully, but these errors were encountered:
Bad3r
changed the title
Cannot Adjust Code Block Indentation Using Tab/Shift+Tab Shortcuts
Code Block do not support shortcuts
Nov 3, 2024
I know this introduces a challenge with in-code-block shortcuts and global/logseq shortcuts.
There are workarounds but they are all clunky and result in a bad user experience.
Its likely that other introduced block types suffer from the same issue.
Search first
What Happened?
With recent changes preventing access to code block edit mode (editing code blocks as plain text outside of CodeMirror), users are no longer able to change the indentation within code blocks using the keyboard shortcuts
Tab
orShift+Tab
. The current workaround is dragging the block.Reproduce the Bug
Tab
orShift+Tab
.Expected Behavior
The
Tab
shortcut should increase the indentation, andShift+Tab
should decrease it within code blocks.Screenshots
No response
Browser, Desktop or Mobile Platform Information
No response
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
The text was updated successfully, but these errors were encountered: