On selecting 'Background Media,' set it as the featured image
On selecting 'Background Media,' set it as the featured image

But only if there isn't a featured image.
@todo: consider this for the image block.

ampproject/amp-toolbox-php,ampproject/amp-toolbox-php