After inserting an image into a text area, the src attribute includes the domain name as well as the local file path. For example:
This can be problem when the domain changes, such as when moving from staging to live.
I'm thinking that the best src attribute would omit the domain completely. For example:
But I'm not sure if it should include the initial slash.
I suppose there might even be a configuration option that I'm missing, but I haven't found it yet. Is there? If not, I'd like to request a configuration option that allows the admin to choose whether the full domain should be included.