After WangEditor edits the content in vue, get the rendering problem again

after editing the content in the editor and sending it to the server, when you get the content editing again, the following questions are asked when rendering. What"s going on?

the code to initialize the editor is as follows

//
            initEditor: function () {
                let editor = new WangEditor("-sharpeditorElem");
                editor.customConfig.onchange = (html) => {
                    this.form.messageContent = html
                };
                editor.customConfig.uploadImgShowBase64 = true;
                editor.create();
                if(this.editFlag === "1"){
                    editor.txt.html(this.form.messageContent);
                }
                return editor
            }
Mar.04,2021

the uploaded image is encoded into base64 by webpack. You need to use blob to convert it. Let's be more specific: Baidu


editor.customConfig.uploadImgShowBase64 = false;

try it and write the upload function yourself


Hello, how do you render the text to the text box? has the problem of html style


been solved? I met it, too. Can you explain

?
Menu