mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 15:04:07 +01:00
This commit is contained in:
parent
d8518460f8
commit
b0116fb094
2 changed files with 5 additions and 1 deletions
|
|
@ -2387,7 +2387,9 @@ export const tableMenu = (protyle: IProtyle, nodeElement: Element, cellElement:
|
|||
insertMenus.push({
|
||||
id: "insertRowAbove",
|
||||
icon: "iconBefore",
|
||||
label: window.siyuan.languages.insertRowAbove,
|
||||
label: `<div class="fn__flex" style="align-items: center;">
|
||||
${window.siyuan.languages.insertRowBefore.replace("${x}", `<span class="fn__space"></span><input style="width:64px" type="number" step="1" min="1" value="1" placeholder="${window.siyuan.languages.enterKey}" class="b3-text-field"><span class="fn__space"></span>`)}
|
||||
</div>`,
|
||||
accelerator: window.siyuan.config.keymap.editor.table.insertRowAbove.custom,
|
||||
click: () => {
|
||||
insertRowAbove(protyle, range, cellElement, nodeElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue