The code is the code from the official wangeditor document. There is no problem in uploading network images, but there is no way to load local images.
< /p>
There is no problem with uploading screenshots and pasting images to the upload page, but there is an error in the display of locally uploaded images. After looking at the src of the local image uploaded by the html code, it looks like this
The code for the php code to return the path is only like this. Is the failure to load local images related to the path in this code? How to solve this? Thank you~~
span>
It should be a path problem. Don’t use absolute paths, use relative paths, that is, ./ or ./././.