mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
Merge pull request #266 from toeverything/fix/indent-with-root-id
fix: handle root block when indent
This commit is contained in:
@@ -228,7 +228,7 @@ export const TextView = ({
|
||||
block.firstCreateFlag = true;
|
||||
};
|
||||
const onTab: TextProps['handleTab'] = async ({ isShiftKey }) => {
|
||||
await tabBlock(block, isShiftKey);
|
||||
await tabBlock(editor, block, isShiftKey);
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user