mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 桌面端编辑器设置支持自适应宽度 https://github.com/siyuan-note/siyuan/issues/5182
This commit is contained in:
parent
9e2f8831a4
commit
da95eb66e4
6 changed files with 9 additions and 3 deletions
|
|
@ -12,6 +12,7 @@ export const editor = {
|
|||
return `<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.fullWidth}
|
||||
<div class="b3-label__text">${window.siyuan.languages.fullWidthTip}</div>
|
||||
</div>
|
||||
<span class="fn__space"></span>
|
||||
<input class="b3-switch fn__flex-center" id="fullWidth" type="checkbox"${window.siyuan.config.editor.fullWidth ? " checked" : ""}/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue