I am using
get_the_content() to load other pages content on the current page, and I noticed some block CSS classes are missing in the HTML I get.
is-layout-flex layout CSS class is missing for the Columns block, which is causing block to look different from how it looks when the page is open normally, in a browser tab.
When I open page normally, in a browser tab I get this:
<div class="is-layout-flex wp-container-7 wp-block-columns">
But, when I get the content of the page with the get_the_content(), I get this:
Is there a way to make
get_the_content() provide exactly the same content as it is provided when the page is open normally, in a browser tab?