Backspace UX at the Start of a Block #2542
Closed
Noyce-Joel
started this conversation in
Ideas & Enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I press backspace at the start of a block that's not a paragraph block, Blocknote is converting the block to a paragraph first. I then have to backspace again to merge with the previous block.
The code is in KeyboardShortcutsExtension.ts:
() =>
commands.command(({ state }) => {
const blockInfo = getBlockInfoFromSelection(state);
if (!blockInfo.isBlockContainer) {
return false;
}
I'm wondering whether it would be worth thinking about modifying this ux. I find it breaks my rhythm when editing and causes friction where I have to convert the block back to what it was after backspacing. The conversion feels kind of lossy and the first time it happened I was super confused what I'd done.
Beta Was this translation helpful? Give feedback.
All reactions