I’ve fixed the detection in customizeImageButtons to use EasyMDE classes ('image' and 'upload-image') instead of the title, which isn’t defined yet.
Now:
- Button with class
'image' → 'easymde-image-url-button' → tooltip "Insert an image (URL)" - Button with class
'upload-image' → 'easymde-upload-image-button' → tooltip "Upload an image (File)"
The labels are now correctly differentiated.