🩹 increase timeout to make sure cursor doesn't end up on top of newly added code blocks
This commit is contained in:
parent
1df5d5356b
commit
cfdfe9050b
1 changed files with 1 additions and 1 deletions
|
|
@ -472,7 +472,7 @@ function TipTapEditor(props: TipTapEditorProps) {
|
|||
.run();
|
||||
setTimeout(() => {
|
||||
editor.commands.focus("end");
|
||||
}, 100);
|
||||
}, 200);
|
||||
}
|
||||
setIgnoreHighlightedCode(false);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue