fix(include_note): fix wrongly merged code

This commit is contained in:
Jakob Schlanstedt 2025-11-21 11:34:23 +01:00
parent 0a57e6e154
commit 315fcecf57

View File

@ -70,7 +70,7 @@ export default function IncludeNoteDialog() {
)
}
async function includeNote(notePath: string, textTypeWidget: EditableTextTypeWidget, boxSize: BoxSize) {
async function includeNote(notePath: string, editorApi: CKEditorApi, boxSize: BoxSize) {
const noteId = tree.getNoteIdFromLink(notePath);
if (!noteId) {
return;