mirror of
https://github.com/zadam/trilium.git
synced 2025-12-07 16:04:23 +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);
|
||||
if (!noteId) {
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user