mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 15:04:07 +01:00
🚨
This commit is contained in:
parent
b0e3efa774
commit
2c36af78bc
14 changed files with 25 additions and 26 deletions
|
|
@ -534,7 +534,7 @@ export const focusBlock = (element: Element, parentElement?: HTMLElement, toStar
|
|||
return false;
|
||||
}
|
||||
} else if (element.classList.contains("av")) {
|
||||
const avTitleElement = element.querySelector(".av__title")
|
||||
const avTitleElement = element.querySelector(".av__title");
|
||||
if (avTitleElement) {
|
||||
const range = document.createRange();
|
||||
range.selectNodeContents(avTitleElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue