mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
ab62a13cb0
commit
84498da845
1 changed files with 7 additions and 1 deletions
|
|
@ -15,6 +15,12 @@ import {Menu} from "../plugin/Menu";
|
|||
export const editor = {
|
||||
element: undefined as Element,
|
||||
genHTML: () => {
|
||||
let spellcheckTip = "";
|
||||
/// #if !BROWSER
|
||||
spellcheckTip = window.siyuan.languages.spellcheckTip1;
|
||||
/// #else
|
||||
spellcheckTip = window.siyuan.languages.spellcheckTip;
|
||||
/// #endif
|
||||
return `<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.fullWidth}
|
||||
|
|
@ -104,7 +110,7 @@ export const editor = {
|
|||
<label class="fn__flex">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.spellcheck}
|
||||
<div class="b3-label__text">${window.siyuan.languages.spellcheckTip}</div>
|
||||
<div class="b3-label__text">${spellcheckTip}</div>
|
||||
</div>
|
||||
<span class="fn__space"></span>
|
||||
<input class="b3-switch fn__flex-center" id="spellcheck" type="checkbox"${window.siyuan.config.editor.spellcheck ? " checked" : ""}/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue