feat(edit): more robust editing experience
This commit is contained in:
1 parent
281c3f6c44
commit
fed2c8dd90
1 file changed
+3
-1
@@ -90,7 +90,9 @@ export const TextView = ({
|
||||
await block.removeChildren();
|
||||
await block.after(nextBlock);
|
||||
|
||||
editor.selectionManager.activeNodeByNodeId(nextBlock.id);
|
||||
setTimeout(() => {
|
||||
editor.selectionManager.activeNodeByNodeId(nextBlock.id, 'start');
|
||||
});
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user