mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 17:26:10 +01:00
This commit is contained in:
parent
cd454b4de9
commit
20b0dd7d28
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ export const hasSameTextStyle = (currentElement: HTMLElement, sideElement: HTMLE
|
|||
types.includes("a")) {
|
||||
return false;
|
||||
}
|
||||
if (types.includes("id")) {
|
||||
if (types.includes("block-ref")) {
|
||||
if (currentElement.getAttribute("data-id") !== sideElement.getAttribute("data-id") ||
|
||||
currentElement.getAttribute("data-subtype") !== sideElement.getAttribute("data-subtype") ||
|
||||
currentElement.textContent !== sideElement.textContent) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue