Fix auto-focusing of notes in external window
This commit is contained in:
parent
dcfaa5521e
commit
6051c245b4
|
@ -29,7 +29,6 @@ var notifierUnregisterID;
|
||||||
async function onLoad() {
|
async function onLoad() {
|
||||||
noteEditor = document.getElementById('zotero-note-editor');
|
noteEditor = document.getElementById('zotero-note-editor');
|
||||||
noteEditor.mode = 'edit';
|
noteEditor.mode = 'edit';
|
||||||
noteEditor.focus();
|
|
||||||
|
|
||||||
// Set font size from pref
|
// Set font size from pref
|
||||||
Zotero.setFontSize(noteEditor);
|
Zotero.setFontSize(noteEditor);
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
body_id: "zotero-tinymce-note",
|
body_id: "zotero-tinymce-note",
|
||||||
content_css: "css/note-content.css",
|
content_css: "css/note-content.css",
|
||||||
|
|
||||||
|
auto_focus: "tinymce",
|
||||||
browser_spellcheck: true,
|
browser_spellcheck: true,
|
||||||
convert_urls: false,
|
convert_urls: false,
|
||||||
entity_encoding: 'raw',
|
entity_encoding: 'raw',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user