diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index 609506a1af..7a534951ff 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -2198,6 +2198,8 @@ textbox.setAttribute("min-lines", 1); } var value = textbox.value.trim(); + // Remove trailing whitespaces from editable-text in case itemBox is not refreshed + textbox.value = value; var [field, creatorIndex, creatorField] = fieldName.split('-');