mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 02:10:15 +01:00
🚨
This commit is contained in:
parent
3c3b612e1d
commit
ae01b52ae3
9 changed files with 13 additions and 13 deletions
|
|
@ -259,7 +259,7 @@ export const contentMenu = (protyle: IProtyle, nodeElement: Element) => {
|
|||
label: window.siyuan.languages.copyPlainText,
|
||||
click() {
|
||||
focusByRange(getEditorRange(nodeElement));
|
||||
const cloneContents = getSelection().getRangeAt(0).cloneContents()
|
||||
const cloneContents = getSelection().getRangeAt(0).cloneContents();
|
||||
cloneContents.querySelectorAll('[data-type="backslash"]').forEach(item => {
|
||||
item.firstElementChild.remove();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue