This commit is contained in:
Vanessa 2023-11-25 17:10:06 +08:00
parent 320110d57e
commit 4cd93b0fec
10 changed files with 15 additions and 8 deletions

View file

@ -378,7 +378,6 @@ export const enableProtyle = (protyle: IProtyle) => {
hideTooltip();
};
const focusElementById = (protyle: IProtyle, action: string[]) => {
let focusElement: Element;
Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${protyle.block.id}"]`)).find((item: HTMLElement) => {