mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
755bdb8edb
commit
da2b19c2fd
2 changed files with 10 additions and 2 deletions
|
|
@ -196,6 +196,11 @@ export const editor = {
|
|||
getAllModels().editor.forEach((item) => {
|
||||
item.editor.reload();
|
||||
setPadding(item.editor.protyle);
|
||||
if (window.siyuan.config.editor.fullWidth) {
|
||||
item.editor.protyle.wysiwyg.element.setAttribute("data-fullwidth", "true");
|
||||
} else {
|
||||
item.editor.protyle.wysiwyg.element.removeAttribute("data-fullwidth");
|
||||
}
|
||||
});
|
||||
setInlineStyle();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue