From bdcb84a394ea3b3746ddef3849bb91621061957e Mon Sep 17 00:00:00 2001 From: Jakob Schlanstedt Date: Fri, 21 Nov 2025 11:20:01 +0100 Subject: [PATCH] fix(EditableTest): cutIntoNoteCommand createNote to new API --- apps/client/src/widgets/type_widgets/text/EditableText.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/type_widgets/text/EditableText.tsx b/apps/client/src/widgets/type_widgets/text/EditableText.tsx index 6ad0114b4..64dcdc808 100644 --- a/apps/client/src/widgets/type_widgets/text/EditableText.tsx +++ b/apps/client/src/widgets/type_widgets/text/EditableText.tsx @@ -155,7 +155,9 @@ export default function EditableText({ note, parentComponent, ntxId, noteContext // without await as this otherwise causes deadlock through component mutex const parentNotePath = appContext.tabManager.getActiveContextNotePath(); if (noteContext && parentNotePath) { - note_create.createNote(parentNotePath, { + note_create.createNote({ + parentNoteLink: parentNotePath, + target: "into", isProtected: note.isProtected, saveSelection: true, textEditor: await noteContext?.getTextEditor()