Open Y-MY opened 7 years ago
@Y-MY , it hard for me to make out the error looking at code above. Can you plz refer to example here: https://github.com/jpuri/react-draft-wysiwyg/blob/master/docs/src/components/Home/index.js
@jpuri I am in need of adding an html template into the wysiwyg editor. The editor now handles only some of the css styles. Hence, the editor gets broken if the template contains styles such as border, margin etc. How can I incorporate support for more styles to handle this issue
## First,show my code: import React, { Component } from 'react'; import { Editor } from 'react-draft-wysiwyg'; import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css"; import uploadImageCallBack from "./uploadImageCallBack"; import EditorStyle from '../style/MessageCenter.css'; class ReactEditor extends Component{ render(){ return (
} export default ReactEditor;
## Then, the rich text editor style can not be displayed properly, where I write a problem