The textarea component in antd, how to render the data returned by the background?

problem description

clipboard.png

clipboard.png
clipboard.png

the environmental background of the problems and what methods you have tried

using a background management system made by react+antd, when you click the edit button to jump to the editing component of the report, the content of the rendered text field returned by the background is label + content. How should the content returned by the background be parsed normally? There may be text and pictures in the content, and there will be line breaks. Is also a react slag, the use of react flexibility is not enough, hope God guidance

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?


you need a rich text component, like http://www.wangeditor.com/


if you need styled text, you need a rich text component.
if it is plain text, just pass the value to antd.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bb4cbc-2ff34.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bb4cbc-2ff34.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?