mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
0acda592dc
commit
785ac57352
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {
|
||||||
tempElement.content.querySelectorAll(".protyle-wysiwyg--select").forEach(selectItem => {
|
tempElement.content.querySelectorAll(".protyle-wysiwyg--select").forEach(selectItem => {
|
||||||
selectItem.classList.remove("protyle-wysiwyg--select");
|
selectItem.classList.remove("protyle-wysiwyg--select");
|
||||||
});
|
});
|
||||||
const wbrElement = tempElement.querySelector("wbr");
|
const wbrElement = tempElement.content.querySelector("wbr");
|
||||||
if (wbrElement) {
|
if (wbrElement) {
|
||||||
wbrElement.remove();
|
wbrElement.remove();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue