How does react-quill insert HTML fragments

react-quill component wants to insert a piece of HTML code, but the actual result is displayed as HTML code text, not page budget;
for example, I insert
my expectation is to show pictures on the details page asdasd.npg;
actually shows the words ;

how can I achieve what I expect?
Thank you fee of 5 yuan

Mar.07,2021

because of the rich text component, what you type is displayed. Your html tag will not be parsed.
to display a picture, you need to upload a picture through the toolbar function. You need to open the image function of toolbar .
refer to official examples

the final display can be as follows:

class extends React.Component {
    render() {
        const {qullText} = this.props;
        return (
            <div dangerouslySetInnerHTML={{__html: qullText}}></div>
        )
    }
}
Note: there are two underscores before html.
Menu