```js // App.js import React, { Component } from 'react'; import { init } from 'pell'; import 'pell/dist/pell.css' class App extends Component { editor = null constructor (props) { super(props) this.state = { html: null } } componentDidMount () { this.editor = init({ element: document.getElementById('editor'), onChange: html => this.setState({ html }), actions: ['bold', 'underline', 'italic'], }) } render() { return (

Editor:

HTML Output:

{this.state.html}
); } } export default App; ```