Converted md settings to localstorage, added preview resize

This commit is contained in:
Dan Brown
2022-11-28 14:08:20 +00:00
parent 38db3a28ea
commit 31c28be57a
8 changed files with 102 additions and 102 deletions

View File

@ -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<String, String>} text
* @property {Object<String, any>} settings
*/
/**