diff --git a/chrome/content/zotero/xpcom/editorInstance.js b/chrome/content/zotero/xpcom/editorInstance.js index cc92b6bded..bedee1af3a 100644 --- a/chrome/content/zotero/xpcom/editorInstance.js +++ b/chrome/content/zotero/xpcom/editorInstance.js @@ -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 }); } } diff --git a/note-editor b/note-editor index b985ba7d49..7565a117a7 160000 --- a/note-editor +++ b/note-editor @@ -1 +1 @@ -Subproject commit b985ba7d498a6e076c64f959853502db890f6d20 +Subproject commit 7565a117a702023dad773e832e7f805dd37f1df2