mirror of
https://github.com/zadam/trilium.git
synced 2025-12-08 16:34:25 +01:00
fix(include_note): fix wrongly merged code
This commit is contained in:
parent
3d5ba8ce05
commit
b29ec6da81
@ -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