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

Re-initializing the editor with new data #34

Closed
mflavius opened this issue Jul 1, 2019 · 1 comment
Closed

Re-initializing the editor with new data #34

mflavius opened this issue Jul 1, 2019 · 1 comment

Comments

@mflavius
Copy link

mflavius commented Jul 1, 2019

Is there a way to re-init the data in the laraberg editor, or a way to swap out the current data with new content in real time?

@mauricewijnia
Copy link
Member

In version 0.0.7 you can set the editor data like this:

Laraberg.setContent('content')

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

2 participants