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

Rerender #201

Open
henrikmarklund opened this issue Oct 3, 2021 · 0 comments
Open

Rerender #201

henrikmarklund opened this issue Oct 3, 2021 · 0 comments

Comments

@henrikmarklund
Copy link

Hi,

Thank you for the amazing work.

I'm using React and the Dante3 editor. The user is editing lessons using the editor. When the user switches lesson, the content of the editor should change. However, passing "content" in as a prop doesn't seem to be enough, as this is just the initial value of the editor. Is there a way to programmatically change the content, when e.g my user clicks on a button?

Thanks!

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