When using this component you should probably have your backend whitelist which tags are allowed so things like ```<script>``` tags and XSS attacks can't happen.

```js
import { RichTextEditor } from 'frontend-react-components';

const [editorState, setEditorState] = RichTextEditor.useEditorState('');
<RichTextEditor editorState={ editorState } setEditorState={ setEditorState } placeholder="placeholder" />
const html = RichTextEditor.export(editorState);
```
