mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +01:00
editor: fix newline added in callout on typing anything
This commit is contained in:
@@ -204,7 +204,7 @@ export const Callout = Node.create({
|
||||
);
|
||||
|
||||
tr.setSelection(
|
||||
TextSelection.create(tr.doc, tr.selection.anchor - 2)
|
||||
TextSelection.create(tr.doc, tr.selection.anchor - 3)
|
||||
);
|
||||
|
||||
tr.scrollIntoView();
|
||||
|
||||
Reference in New Issue
Block a user