Most online editors are not friendly in the form of paths after uploading attachments. Like this: How to display the original file name that the user uploads. That's it. is not looking very friendly.
The Kindeditor editor upload file is called in the form of plugins, including other similar functions (batch upload images, Baidu maps) are in the plugins directory. Open the Insertfile.js file under the InsertFile directory. Find the Urlbox.val (URL) in the callback function after the file upload, add a line titlebox.val (Data.title) below, and this will return the JSON format after uploading the file in the background, where key is assigned the value of title to the file description. So we need to return this key back in the background, open the Upload_json.ashx, in the file upload successful function inside
hash["url"] = FILEURL; add one line below hash["title"] =filename; If you find that after you change it, it is recommended that you empty your browser cache or switch to a different browser. The above modifications were modified on the latest 4.17. The others are also applicable.
Kindeditor Editor uploads attachments, automatically gets the file name display.