Fix Return not accepting citation dialog after pasting. Closes #3240

This commit is contained in:
Adomas Venčkauskas 2023-08-01 09:47:42 +03:00
parent 4b16269b7f
commit b261d10b89

View file

@ -236,7 +236,7 @@ var Zotero_QuickFormat = new function () {
*/
function _getEditorContent(clear) {
var node = _getCurrentEditorTextNode();
return node ? node.wholeText : false;
return node ? node.wholeText.trim() : false;
}
/**