mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 20:38:49 +01:00
This commit is contained in:
parent
1695ca82f8
commit
a6a65f567a
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export class Outline extends Model {
|
|||
click: (element: HTMLElement) => {
|
||||
const models = getAllModels();
|
||||
models.editor.find(item => {
|
||||
if (this.blockId === item.editor.protyle.block.rootID) {
|
||||
if (this.blockId === item.editor.protyle.block.rootID && !item.element.classList.contains("fn__none")) {
|
||||
const id = element.getAttribute("data-node-id");
|
||||
const targetElement = item.editor.protyle.wysiwyg.element.querySelector(`[data-node-id="${id}"]`);
|
||||
if (targetElement) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue