mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-08 09:48:50 +01:00
This commit is contained in:
parent
eb30109d7f
commit
e894244a73
1 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ export const getContenteditableElement = (element: Element): Element => {
|
|||
return blockElement.querySelector("table");
|
||||
} else if ("NodeCodeBlock" === type && blockElement.classList.contains("code-block")) {
|
||||
return blockElement.querySelector(".hljs").lastElementChild;
|
||||
} else if ("NodeAttributeView" === type) {
|
||||
return blockElement.querySelector(".av__title");
|
||||
} else if (["NodeBlockQueryEmbed", "NodeMathBlock", "NodeHTMLBlock"].includes(type)) {
|
||||
return undefined;
|
||||
} else if (blockElement.getAttribute("data-node-id")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue