mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 05:18:49 +01:00
📝 闪卡支持设置是否启用标记制卡 https://github.com/siyuan-note/siyuan/issues/7794
This commit is contained in:
parent
8b63e04728
commit
6e6c0ce38b
2 changed files with 9 additions and 0 deletions
|
|
@ -36,6 +36,14 @@ export const flashcard = {
|
|||
</label>`;
|
||||
/// #endif
|
||||
return `${responsiveHTML}
|
||||
<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.flashcardMark}
|
||||
<div class="b3-label__text">${window.siyuan.languages.flashcardMarkTip}</div>
|
||||
</div>
|
||||
<span class="fn__space"></span>
|
||||
<input class="b3-switch fn__flex-center" id="mark" type="checkbox"${window.siyuan.config.flashcard.mark ? " checked" : ""}/>
|
||||
</label>
|
||||
<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.flashcardList}
|
||||
|
|
|
|||
1
app/src/types/index.d.ts
vendored
1
app/src/types/index.d.ts
vendored
|
|
@ -397,6 +397,7 @@ declare interface IConfig {
|
|||
flashcard: {
|
||||
newCardLimit: number
|
||||
reviewCardLimit: number
|
||||
mark: boolean
|
||||
list: boolean
|
||||
superBlock: boolean
|
||||
deck: boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue