Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react 中如何主动让富文本框聚焦? #12

Open
glk-hll opened this issue Aug 10, 2021 · 0 comments
Open

react 中如何主动让富文本框聚焦? #12

glk-hll opened this issue Aug 10, 2021 · 0 comments

Comments

@glk-hll
Copy link

glk-hll commented Aug 10, 2021

遇到一种情况:编辑在过程中,富文本框还在聚焦,此时点击某个 form 的提交,会先触发 form 的 onFinish 再触发 ReactWEditor 的 onBlur ,而我需要的值是在 onBlur 里面设置的。所以我想通过主动让富文本框聚焦来解决这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant