Insert an image with a link using IMCE File Manager (AKA, the file browser we used with Drupal 7)
For sites that expect to create links on images on a regular basis, an alternate file browser can be added for your site, providing an additional button to Insert from IMCE File Manager. This button inserts an image as a plain <img> tag that won't trigger the empty paragraph bug when a link is added to the image. This configuration is supported as a workaround and will be phased out when the bug is fixed.