This is an automated email from the ASF dual-hosted git repository.

robin0716 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit f091693da80581d731890c330b56d6925149be18
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 () => {

Reply via email to