Description of the need In rich text editor in image details, users are allowed to click the insert or update button even if they do not have a file chosen.
Proposed solution You could block the "Update" button until an image is added or have a popup to notify the user that they do not have an image selected when clicking insert/update.
Additional information
Inserting an non-existent file:

Updating after a file is removed:

Recent comments
@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...
Importing the staged config throws an error: another field with the same name already exists
Thanks, I have to go out now, I will try later on and report back
Importing the staged config throws an error: another field with the same name already exists
Hi Francis. Yes, what config do you have in staging for it? You might have configs like: field.field.field_video_embed field.instance.node.page....
Importing the staged config throws an error: another field with the same name already exists