diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 0e87428cc..7aa2c536a 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -252,7 +252,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle id: target.dataset.id, data: !isOpen }]); - }, Constants.TIMEOUT_TRANSITION); + }, Constants.TIMEOUT_COUNT); event.preventDefault(); event.stopPropagation(); return true; diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts index f39a3c98a..0bb5eb029 100644 --- a/app/src/protyle/util/paste.ts +++ b/app/src/protyle/util/paste.ts @@ -408,7 +408,6 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven tempElement.querySelectorAll("[data-node-id]").forEach((e) => { const newId = Lute.NewNodeID(); e.setAttribute("data-node-id", newId); - e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl"); clearBlockElement(e); isBlock = true; });