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
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