From 47c61d3a4d425d9a2a07e88d5e79ec2807a76904 Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Fri, 1 Oct 2021 13:19:20 +0300 Subject: [PATCH] Add limitations for attachment notes --- chrome/content/zotero/xpcom/editorInstance.js | 1 + note-editor | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/editorInstance.js b/chrome/content/zotero/xpcom/editorInstance.js index 73d8937923..5ae95cda4e 100644 --- a/chrome/content/zotero/xpcom/editorInstance.js +++ b/chrome/content/zotero/xpcom/editorInstance.js @@ -102,6 +102,7 @@ class EditorInstance { unsaved: !this._item.id, disableUI: this._disableUI, enableReturnButton: !!this._onReturn, + isAttachmentNote: this._isAttachment, placeholder: options.placeholder, dir: Zotero.dir, font: this._getFont(), diff --git a/note-editor b/note-editor index ddcba7de02..263eec53a5 160000 --- a/note-editor +++ b/note-editor @@ -1 +1 @@ -Subproject commit ddcba7de027099cdc5a792e2dc186a810e72d556 +Subproject commit 263eec53a5f0e8ab3960be9ea8d0db4ef19a4761