title: How to get the text align style with stateToHTML using React wyswyig editor
body: <p>I am using react-draft-wysiwyg editor, and while using text align options on editor I see the style applied but when I convert the data using stateToHTML I do not see any style applied to it.</p>
  <pre><code>&lt;Editor
            editorState={this.state.editorState}
            onEditorStateChange={this.handleEditorChange}
            wrapperClassName=&quot;wrapperClassName&quot;
            editorClassName=&quot;editorClassName&quot;
            toolbarClassName=&quot;toolbarClassName&quot;
            toolbar={{
              options: ['inline', 'blockType', 'list', 'emoji', 'textAlign']
  /&gt;
  </code></pre>
  <p>Here I have used center text indentation, but after converting to stateToHTML I do not see any style applied to the data to be saved. I need to save the data with the styling applied.</p>
  <p>Could someone please help me out solving this.</p>