You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by ro...@apache.org on 2024/11/08 07:17:11 UTC
(incubator-answer-plugins) branch fix/editor-formula created (now f39ecd4)
This is an automated email from the ASF dual-hosted git repository.
robin0716 pushed a change to branch fix/editor-formula
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git
at f39ecd4 fix: enable subtree observation in useRenderFormula
This branch includes the following new commits:
new f39ecd4 fix: enable subtree observation in useRenderFormula
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-answer-plugins) 01/01: fix: enable subtree observation in useRenderFormula
Posted by ro...@apache.org.
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 f39ecd41007ce9d95861eebd3712fb7a5034ea46
Author: robin <ro...@rnode.me>
AuthorDate: Fri Nov 8 15:17:01 2024 +0800
fix: enable subtree observation in useRenderFormula
---
editor-formula/hooks.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/editor-formula/hooks.ts b/editor-formula/hooks.ts
index 46db93a..16037e5 100644
--- a/editor-formula/hooks.ts
+++ b/editor-formula/hooks.ts
@@ -60,6 +60,7 @@ const useRenderFormula = (element: HTMLElement | RefObject<HTMLElement> | null)
observer.observe(targetElement, {
childList: true,
+ subtree: true,
});
return () => {