This is an automated email from the ASF dual-hosted git repository. robin0716 pushed a commit to branch fix/editor-formula in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git
commit b4c2675a4ff0e828fe8f9b13fd5fc94ce3e87995 Author: robin <[email protected]> AuthorDate: Wed Jul 3 18:32:02 2024 +0800 fix(editor-formula): Solve the problem of page freezing caused by incorrect formula --- editor-formula/hooks.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/editor-formula/hooks.ts b/editor-formula/hooks.ts index df350b2..46db93a 100644 --- a/editor-formula/hooks.ts +++ b/editor-formula/hooks.ts @@ -60,8 +60,6 @@ const useRenderFormula = (element: HTMLElement | RefObject<HTMLElement> | null) observer.observe(targetElement, { childList: true, - attributes: true, - subtree: true, }); return () => {
