FIX: Correctly wrap image and resize controls inside paragraph (PR #8718)

GitHub

You’ve signed the CLA, romanrizzi. Thank you! This pull request is ready for review.