mirror of
https://github.com/zadam/trilium.git
synced 2025-01-27 17:40:44 +08:00
fix broken addTextToActiveEditor API method, closes #1332
This commit is contained in:
parent
dc64d333b6
commit
7f5af4b959
2 changed files with 2 additions and 2 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "trilium",
|
||||
"version": "0.44.9",
|
||||
"version": "0.45.0-beta",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -181,7 +181,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
|
|||
});
|
||||
}
|
||||
|
||||
addTextToActiveEditorEvent(text) {
|
||||
addTextToActiveEditorEvent({text}) {
|
||||
if (!this.isActive()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue