mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
This commit is contained in:
parent
8218184ece
commit
5e88631c1b
1 changed files with 0 additions and 1 deletions
|
|
@ -91,7 +91,6 @@ export const getPlainText = (blockElement: HTMLElement, isNested = false) => {
|
|||
text = text.slice(0, -1) + "\n";
|
||||
}
|
||||
});
|
||||
text += blockElement.querySelector("[spellcheck]").textContent;
|
||||
} else if (!isNested && ["NodeBlockquote", "NodeList", "NodeSuperBlock", "NodeListItem"].includes(dataType)) {
|
||||
blockElement.querySelectorAll("[data-node-id]").forEach((item: HTMLElement) => {
|
||||
const nestedText = getPlainText(item, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue