mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 00:14:07 +01:00
This commit is contained in:
parent
81f39961eb
commit
ec29bc7071
4 changed files with 21 additions and 30 deletions
|
|
@ -343,9 +343,7 @@ export const editor = {
|
|||
}
|
||||
window.siyuan.config.editor = editorData;
|
||||
getAllModels().editor.forEach((item) => {
|
||||
if (!changeReadonly) {
|
||||
reloadProtyle(item.editor.protyle, false);
|
||||
}
|
||||
reloadProtyle(item.editor.protyle, false);
|
||||
let isFullWidth = item.editor.protyle.wysiwyg.element.getAttribute(Constants.CUSTOM_SY_FULLWIDTH);
|
||||
if (!isFullWidth) {
|
||||
isFullWidth = window.siyuan.config.editor.fullWidth ? "true" : "false";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue