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

wandeditor4:一个页面出现多个editor,使用editor.txt.html()写入内容,只有最后一个editor可以显示出内容 #5853

Open
afra213174647471 opened this issue Apr 12, 2024 · 0 comments

Comments

@afra213174647471
Copy link

afra213174647471 commented Apr 12, 2024

react中

useEffect(() => {
editor.current = new E(ref.current)
editor.current.create()
editor.current.txt.html(props.value)}
, [])

return


<div id={props.id} ref={ref} style={{ zIndex: 0, position: 'relative' }}>

{error}

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