X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ec3713bc743d56d2aeea5fe6890f8843dce63127..refs/pull/3918/head:/resources/js/markdown/editor.js diff --git a/resources/js/markdown/editor.js b/resources/js/markdown/editor.js index f2e34b9f0..1cf4cef2b 100644 --- a/resources/js/markdown/editor.js +++ b/resources/js/markdown/editor.js @@ -19,7 +19,7 @@ export async function init(config) { const editor = { config, markdown: new Markdown(), - settings: new Settings(config.settings), + settings: new Settings(config.settingInputs), }; editor.actions = new Actions(editor); @@ -39,8 +39,8 @@ export async function init(config) { * @property {Element} displayEl * @property {HTMLTextAreaElement} inputEl * @property {String} drawioUrl + * @property {HTMLInputElement[]} settingInputs * @property {Object} text - * @property {Object} settings */ /**