mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 07:48:49 +01:00
This commit is contained in:
parent
8554804ae2
commit
702d48252d
1 changed files with 3 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue