commit 6051c245b455f07438fb2d9596cf38ffc693490e
parent dcfaa5521e25c29f2218bd7e1b8666e66df4dd70
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 11 Dec 2017 02:39:22 -0500
Fix auto-focusing of notes in external window
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/note.js b/chrome/content/zotero/note.js
@@ -29,7 +29,6 @@ var notifierUnregisterID;
async function onLoad() {
noteEditor = document.getElementById('zotero-note-editor');
noteEditor.mode = 'edit';
- noteEditor.focus();
// Set font size from pref
Zotero.setFontSize(noteEditor);
diff --git a/resource/tinymce/note.html b/resource/tinymce/note.html
@@ -10,6 +10,7 @@
body_id: "zotero-tinymce-note",
content_css: "css/note-content.css",
+ auto_focus: "tinymce",
browser_spellcheck: true,
convert_urls: false,
entity_encoding: 'raw',