react-draft-wysiwyg has editor box is missing. how do I draw a box for the editor input field?
import React, { Component, Fragment } from 'react';
import { EditorState, ContentState, convertToRaw, convertFromHTML } from 'draft-js';
import { Editor } from 'react-draft-wysiwyg';
import '../../../node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
import draftToHtml from 'draftjs-to-html';
<Fragment>
<Editor
editorState={editorState}
toolbarClassName="toolbarClassName"
wrapperClassName="wrapperClassName"
editorClassName="editorClassName"
onEditorStateChange={this.onEditorStateChange}
/>
</Fragment>
editorClassName="editorClassName"
is the class for input field, I mean check whether the input field is rendered or not, and check the css attribute. It's better to create a simple demo to reproduce the issue. - Tony Nguyen