mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 18:10:43 +08:00
This commit is contained in:
parent
f0e3ba42bb
commit
b413b66e7f
@ -114,8 +114,8 @@ export class Gutter {
|
|||||||
selectIds.push(itemId);
|
selectIds.push(itemId);
|
||||||
}));
|
}));
|
||||||
if (!selectedIncludeGutter) {
|
if (!selectedIncludeGutter) {
|
||||||
let gutterNodeElement;
|
let gutterNodeElement: HTMLElement;
|
||||||
Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${gutterId}"]`)).find(item => {
|
Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${gutterId}"]`)).find((item: HTMLElement) => {
|
||||||
if (!isInEmbedBlock(item) && this.isMatchNode(item)) {
|
if (!isInEmbedBlock(item) && this.isMatchNode(item)) {
|
||||||
gutterNodeElement = item;
|
gutterNodeElement = item;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user