mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-20 22:14:06 +01:00
This commit is contained in:
parent
e108d10647
commit
d1ed86efe7
2 changed files with 17 additions and 7 deletions
|
|
@ -631,7 +631,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {
|
|||
label: window.siyuan.languages.copy,
|
||||
icon: "iconCopy",
|
||||
click() {
|
||||
writeText(protyle.lute.BlockDOM2StdMd(element.outerHTML));
|
||||
writeText(protyle.lute.BlockDOM2StdMd(element.outerHTML).trim());
|
||||
}
|
||||
}).element);
|
||||
if (!protyle.disabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue