Issue with Inline Ads Being Contained in Tags in Block Editor

Posted in: Newspaper
Post count: 144

Hello,

We are experiencing an issue with inline ads appearing after X paragraphs when using the Block Editor. Specifically, the ads are being placed inside <figure> tags, which causes them to shrink to the size of the <figure> container instead of displaying at full width as intended.

I have attached the following screenshots for reference:

1. How the ad appears when using the Classic Editor.
2. How the ad appears when using the Block Editor.
3. How the ad is supposed to look when I adjusted the position from 3 paragraphs to 4 to prevent it from being placed directly after an Instagram embed.
4. The source code showing how the ad is being injected into the <figure> container for clarity.

I suspect this issue may be related to how the theme determines paragraph count and what qualifies as a paragraph. It seems that when using the Block Editor, <figure> elements are not being treated as block elements/paragraphs.

Could you please escalate this to your development team to ensure they are aware of the issue and determine if a fix can be implemented in an upcoming update?

Thank you for your time and assistance.

Post count: 21065

Hello!

I’ll add this case into our investigation list!

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.