mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 12:20:16 +01:00
🚨
This commit is contained in:
parent
a8f183a99f
commit
5befacdda9
10 changed files with 11 additions and 13 deletions
|
|
@ -99,7 +99,7 @@ export const initUI = (protyle: IProtyle) => {
|
|||
// wysiwyg 元素下方点击无效果 https://github.com/siyuan-note/siyuan/issues/12009
|
||||
if (protyle.disabled ||
|
||||
(!event.target.classList.contains("protyle-content") && !event.target.classList.contains("protyle-wysiwyg"))) {
|
||||
return
|
||||
return;
|
||||
}
|
||||
const lastRect = protyle.wysiwyg.element.lastElementChild.getBoundingClientRect();
|
||||
const range = document.createRange();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue