mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 23:14:07 +01:00
🎨 Clean code
This commit is contained in:
parent
7da3dec244
commit
e082ce983d
6 changed files with 17 additions and 18 deletions
|
|
@ -808,12 +808,12 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
item.querySelectorAll('[data-type="search-mark"]').forEach(markItem => {
|
||||
markItem.outerHTML = markItem.innerHTML;
|
||||
});
|
||||
const id = item.getAttribute("data-node-id")
|
||||
const id = item.getAttribute("data-node-id");
|
||||
sourceIds.push(id);
|
||||
srcs.push({
|
||||
id,
|
||||
isDetached: false,
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
hideElements(["gutter"], protyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue