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
The simple way is - View source code - Copy and paste what you need - Bold can be easily added with <b> or <strong> tags
Use text editors in Summary Field
I have had a read of what Lando provides, and it's an excellent development tool, and it would solve the problem. But, I would prefer to find out why the problem is there in the first...
How often is the settings.php loaded.
Thanks for the info. I will give it a try...
How often is the settings.php loaded.