mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 01:34:20 +01:00
This commit is contained in:
parent
708d32b668
commit
c86d401911
1 changed files with 3 additions and 0 deletions
|
|
@ -2195,6 +2195,9 @@ export class WYSIWYG {
|
|||
this.setEmptyOutline(protyle, event.target);
|
||||
const tableElement = hasClosestByClassName(event.target, "table");
|
||||
this.element.querySelectorAll(".table").forEach(item => {
|
||||
if (item.tagName !== "DIV") {
|
||||
return;
|
||||
}
|
||||
if (!tableElement || !item.isSameNode(tableElement)) {
|
||||
item.querySelector(".table__select").removeAttribute("style");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue