Vanessa 2025-04-01 12:00:36 +08:00
parent 8554804ae2
commit 702d48252d

View file

@ -284,6 +284,9 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {
tempElement.querySelectorAll('[contenteditable="true"]').forEach(editItem => {
editItem.setAttribute("contenteditable", "false");
});
tempElement.querySelectorAll(".protyle-wysiwyg--select").forEach(selectItem => {
selectItem.classList.remove("protyle-wysiwyg--select");
})
const wbrElement = tempElement.querySelector("wbr");
if (wbrElement) {
wbrElement.remove();