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