阅读背景:

如何从draft.js json渲染react.js内容

来源:互联网 

Let's say i have draft.js editor and after editing is finished i preserved result to dataBase. I have two approaches: to save result as html string or as json object. When i use a html string from dataBase it's easy to render it using dangerouslySetInnerHTML. But how to use json object that is produced by convertToRaw draft.js method if i want to display this content not in the but in Let's say i have draft.js editor and after edit




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: