This commit is contained in:
Vanessa 2024-12-30 10:17:32 +08:00
parent 3aa98db23d
commit 6c75197dbc
9 changed files with 17 additions and 17 deletions

View file

@ -20,7 +20,7 @@ export const onlyProtyleCommand = (options: {
}
if (options.command === "switchAdjust") {
let fullWidth;
const adjustWidth = options.protyle.wysiwyg.element.getAttribute(Constants.CUSTOM_SY_FULLWIDTH)
const adjustWidth = options.protyle.wysiwyg.element.getAttribute(Constants.CUSTOM_SY_FULLWIDTH);
if (!adjustWidth) {
fullWidth = window.siyuan.config.editor.fullWidth ? "false" : "true";
} else {