Vanessa 2025-05-26 16:45:41 +08:00
parent 0acda592dc
commit 785ac57352

View file

@ -275,7 +275,7 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {
tempElement.content.querySelectorAll(".protyle-wysiwyg--select").forEach(selectItem => {
selectItem.classList.remove("protyle-wysiwyg--select");
});
const wbrElement = tempElement.querySelector("wbr");
const wbrElement = tempElement.content.querySelector("wbr");
if (wbrElement) {
wbrElement.remove();
}