niuware / mui-rte

Material-UI Rich Text Editor and Viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestions on rendering Material UI components from a RawDraftContentState object

magician11 opened this issue · comments

commented

I'm going to build a blog in a Material UI app I built.

This editor looks great in writing the content and storing the result in a terse way.

Next I would want to render that RawDraftContentState on a page using Material UI components; like <Typography>

Any suggestions on what to use to render the stringified Draft.Model.Encoding.RawDraftContentState object?

Why not to use editor as a viewer just by setting readonly on and toolbar off ?