mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 06:54:08 +01:00
🚨
This commit is contained in:
parent
3aa98db23d
commit
6c75197dbc
9 changed files with 17 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue