mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{
|
||||
"location": "位置",
|
||||
"insertColumnLeft1": "在左边插入${x}列",
|
||||
"insertColumnRight1": "在右边插入${x}列",
|
||||
"noSplitScreenWhenOpenTab": "打开页签时不分屏",
|
||||
"noSplitScreenWhenOpenTabTip": "打开搜索、PDF 等页签时不自动分屏",
|
||||
"useChrome": "仅支持在基于 Chromium 内核的浏览器(比如 Chrome/Edge)中使用,使用其他浏览器会遇到无法解决的兼容性问题",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user