Funny you said that, that’s exactly what the rich editor now does (the PR is merged) when an image doesn’t have dimensions ![]()
It won’t auto-update the document (we avoid that in general), but it will show the controls and auto-calculate the dimensions if you use the scale buttons.