mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-27 17:34:06 +01:00
This commit is contained in:
parent
3df54adcc5
commit
82e027afcc
2 changed files with 6 additions and 10 deletions
|
|
@ -12,7 +12,6 @@ import {getCurrentEditor} from "../editor";
|
|||
import {fontEvent, getFontNodeElements} from "../../protyle/toolbar/Font";
|
||||
import {hideElements} from "../../protyle/ui/hideElements";
|
||||
import {softEnter} from "../../protyle/wysiwyg/enter";
|
||||
import {isPaidUser} from "../../util/needSubscribe";
|
||||
|
||||
let renderKeyboardToolbarTimeout: number;
|
||||
let showUtil = false;
|
||||
|
|
@ -204,7 +203,7 @@ const renderSlashMenu = (protyle: IProtyle, toolbarElement: Element) => {
|
|||
${getSlashItem("((", "iconRef", window.siyuan.languages.ref, "true")}
|
||||
${getSlashItem("{{", "iconSQL", window.siyuan.languages.blockEmbed, "true")}
|
||||
${getSlashItem(Constants.ZWSP + 5, "iconSparkles", "AI Chat")}
|
||||
${isPaidUser() ? getSlashItem('<div data-type="NodeAttributeView" data-av-type="table"></div>', "iconDatabase", window.siyuan.languages.database, "true") : ""}
|
||||
${getSlashItem('<div data-type="NodeAttributeView" data-av-type="table"></div>', "iconDatabase", window.siyuan.languages.database, "true")}
|
||||
${getSlashItem(Constants.ZWSP + 4, "iconFile", window.siyuan.languages.newSubDoc)}
|
||||
</div>
|
||||
<div class="keyboard__slash-title"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue