From 7f5af4b959af7b54849a563a41287d8ab11cff67 Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 26 Oct 2020 15:57:37 +0100 Subject: [PATCH] fix broken addTextToActiveEditor API method, closes #1332 --- package-lock.json | 2 +- src/public/app/widgets/type_widgets/editable_text.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0653afe78..272f64cbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "trilium", - "version": "0.44.9", + "version": "0.45.0-beta", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/public/app/widgets/type_widgets/editable_text.js b/src/public/app/widgets/type_widgets/editable_text.js index 1729f3c29..12999e336 100644 --- a/src/public/app/widgets/type_widgets/editable_text.js +++ b/src/public/app/widgets/type_widgets/editable_text.js @@ -181,7 +181,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget { }); } - addTextToActiveEditorEvent(text) { + addTextToActiveEditorEvent({text}) { if (!this.isActive()) { return; }