Add annotation to note at cursor position

Fixes #2487
This commit is contained in:
Martynas Bagdonas 2022-03-31 12:14:11 +07:00
parent e922ae711a
commit 8e54f1649b
2 changed files with 2 additions and 2 deletions

View file

@ -179,7 +179,7 @@ class EditorInstance {
await this.importImages(annotations);
let { html } = Zotero.EditorInstanceUtilities.serializeAnnotations(annotations);
if (html) {
this._postMessage({ action: 'insertHTML', pos: -1, html });
this._postMessage({ action: 'insertHTML', pos: null, html });
}
}

@ -1 +1 @@
Subproject commit b985ba7d498a6e076c64f959853502db890f6d20
Subproject commit 7565a117a702023dad773e832e7f805dd37f1df2