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

How would you use .addElements() #79

Open
slegaitis opened this issue May 14, 2018 · 0 comments
Open

How would you use .addElements() #79

slegaitis opened this issue May 14, 2018 · 0 comments

Comments

@slegaitis
Copy link

slegaitis commented May 14, 2018

Is it possible to get current Editor instance?

For example, how would you use .addElements() in this wrapper?

I've text coming from an api, that was previously created using this editor. At the moment I'm passing text={props.content_body} as an option, but its little buggy as text that is passed like this sometimes if you have a paragraph with text, save it and come back later (after refreshing the page) if you try to add new text to that same paragraph it jumps to new line

@slegaitis slegaitis changed the title How would you use .addElements('.editable') How would you use .addElements() May 14, 2018
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