Fix auto-focusing of notes in external window

This commit is contained in:
Dan Stillman 2017-12-11 02:39:22 -05:00
parent dcfaa5521e
commit 6051c245b4
2 changed files with 1 additions and 1 deletions

View file

@ -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);

View file

@ -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',