Skip to content

Commit

Permalink
Fix auto-focusing of notes in external window
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Dec 11, 2017
1 parent dcfaa55 commit 6051c24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion chrome/content/zotero/note.js
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions resource/tinymce/note.html
Expand Up @@ -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',
Expand Down

0 comments on commit 6051c24

Please sign in to comment.