Open mirik999 opened 6 years ago
Yes , thanx , this problem is solved.
P.S. image (left center right) doesnt work with bootstrap 4.
The image stuff seems to be a css issue may be something is getting effected by bootstrap styles. Needs debugging :(
Dear Jpuri , how can i set className for img tag and pre code tags ? i tired to change components in src folders and then to run npm run build , but i got an error about webpack.config.js .. I need to set img-fluid for images and highlight.js settings to pre - code tags for beautifuly code screen
Hey @mirik999 , you can check classnames in this file which you also must have imported : https://github.com/jpuri/react-draft-wysiwyg/blob/master/docs/src/index.js#L15
And you can over-ride those styles.
I need to change html (jsx) . i cant set highlight or prism .
after pre i need code tags for highlighting , but .. after pre nothing.
@mirik999 : you need to over-ride css classes in this css file react-draft-wysiwyg.css
.
No , i need to change HTML , because , after pre tags is missing code tags. + span tag for every line in this tags. Or if you have an example how to include highlight (or prism or other plugin) , please , give the link.
Hi people , when i am checking editorState with console.log , i am getting data like this EditorState {_immutable: Record} , how can i handle this data for sending to the API .
i need output in HTML.