Styling issue — class and style attributes stripped from post content
Hi,
Since the latest update, I’ve run into an issue where my custom buttons no longer render with styling inside post content.
I'm using standard HTML like this:
<div style="margin-top:10px;"> <a href="https://example.com/open-in-browser" class="el-button fcom_primary_button" target="_blank" rel="noopener noreferrer nofollow"> Open in Browser </a> <a href="https://example.com/open-in-app" class="el-button fcom_primary_button" target="_blank" rel="noopener noreferrer nofollow"> Open in App </a> </div>
But both the class attributes and the style attributes are being stripped after saving the post — resulting in plain, unstyled links.
This was working fine before the update.
Is this an intentional change?
And is there any supported way to keep basic button styling (e.g., with classes or inline CSS) in posts?
Thanks in advance!
same problem here, I would really like a solution for this.