mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 23:46:13 +01:00
This commit is contained in:
parent
646d4b8ab0
commit
36df3d5ea1
7 changed files with 100 additions and 27 deletions
|
|
@ -1260,7 +1260,7 @@ export class Gutter {
|
|||
}).element);
|
||||
}
|
||||
|
||||
const copyMenu = (copySubMenu(id, true, nodeElement) as IMenu[]).concat([{
|
||||
const copyMenu = (copySubMenu([id], true, nodeElement) as IMenu[]).concat([{
|
||||
id: "copyPlainText",
|
||||
iconHTML: "",
|
||||
label: window.siyuan.languages.copyPlainText,
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {
|
|||
label: window.siyuan.languages.copy,
|
||||
icon: "iconCopy",
|
||||
type: "submenu",
|
||||
submenu: copySubMenu(protyle.block.rootID)
|
||||
submenu: copySubMenu([protyle.block.rootID])
|
||||
}).element);
|
||||
if (!protyle.disabled) {
|
||||
window.siyuan.menus.menu.append(movePathToMenu([protyle.path]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue