- Add uploadImage and uploadVideo configurations to the editor - Implement customInsert function for handling image and video uploads - Display error messages for failed uploads - Use layer.msg for showing upload success or failure messages