Fix the image button in the formatting toolbar.
Review Request #13211 — Created Aug. 15, 2023 and submitted — Latest diff uploaded
The image button in the formatting toolbar would prompt for a file, but never
actually inserted it into the editor. This change fixes that.
- Tested uploading images through the image button in empty and non-empty
editors, and at various positions in the editor. Saw that this behaved in
the same way as dragging and dropping images. - Tested using the other buttons in the editor.