Thanks for your quick response.
I totally agree with you, as it stands the Block Editor’s contact form selector doesn’t use shortcode.
But the Block Editor’s contact form selector creates the HTML output with a [contact-form-7]
shortcode inside.
<div class=”wp-block-contact-form-7-contact-form-selector”>[contact-form-7 id=”XXX” title=”YYYY”]</div>
So it would be very interesting to apply the filter here as well or to have a way to modify the rendering.
In fact for a specific need, I add an attribute to the shortcode, and when the shortcode is added via the “Block Editor’s CF7 Selector”, I no longer have that attribute.
Best regards.