mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 22:44:25 +01:00
fix(include_note): fix wrongly merged code
This commit is contained in:
parent
0a57e6e154
commit
315fcecf57
@ -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);
|
const noteId = tree.getNoteIdFromLink(notePath);
|
||||||
if (!noteId) {
|
if (!noteId) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user