Closed JUSTINMKAUFMAN closed 4 years ago
yes, you need a reference to HTML element with fixed sizes
https://en.reactjs.org/docs/refs-and-the-dom.html
componentDidMount() {
createEditor(this.ref); // create `createEditor` method that accepts a container for editor
}
I’m hoping to put the editor inside a react component that can be added to the DOM the React way. Is this possible?