diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts index ccc528601..7d1fee9ee 100644 --- a/app/src/protyle/wysiwyg/transaction.ts +++ b/app/src/protyle/wysiwyg/transaction.ts @@ -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();