This commit is contained in:
Vanessa 2022-12-26 20:13:36 +08:00
parent e22573b4eb
commit f53c2fdebd
3 changed files with 19 additions and 5 deletions

View file

@ -89,7 +89,7 @@ export const hintSlash = (key: string, protyle: IProtyle) => {
html: `<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconCode"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.code}</span><span class="b3-menu__accelerator">\`\`\`Enter</span></div>`,
}, {
filter: ["表格", "biaoge", "bg", "table"],
value: `| col1${Lute.Caret} | col2 | col3 |\n| --- | --- | --- |\n| | | |\n| | | |`,
value: `| ${Lute.Caret} | | |\n| --- | --- | --- |\n| | | |\n| | | |`,
html: `<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconTable"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.table}</span><span class="b3-menu__accelerator">${updateHotkeyTip((window.siyuan.config.keymap.editor.insert.table.custom))}</span></div>`,
}, {
filter: ["分割线", "fengexian", "fgx", "divider"],