Front-end markup doesn't update when Gutenberg updates #8015
Labels
Backwards Compatibility
Issues or PRs that impact backwards compatability
[Feature] Extensibility
The ability to extend blocks or the editing experience
[Type] Developer Documentation
Documentation for developers
[Type] Question
Questions about the design or development of the editor.
Milestone
Describe the bug
I had a test page that I had created months ago. On the page it had a Multi-Column block (among lots of others). Up until only recently, the Multi-Column block was using CSS Grid. Recently, this has now changed to use Flexbox and more importantly, the content for each column is contained within its own container/div.
Even though my Gutenberg plugin was up to date, when I viewed this page on the front-end, it was still using the old markup (i.e. The blocks for each column weren't in their own container/div). The markup only changed to the new format once the page was re-saved.
Hypothetically, what happens in say 5 years time, when some new css grid spec is all the rage and WP is updated to use this all-new fancy grid? Is my page that I created 5 year earlier, still going to use the old markup? Based on the what I just saw with my old page, it would. I shouldn't have to go back and re-save all my old pages so that the front-end markup updates.
Obviously the most logical answer is no, I wouldn't have to re-save my old pages. In that case though, why did I just have to resave my old page now before seeing the new markup? How is this going to be avoided once Gutenberg is in core?
Gutenberg 3.2.0
The text was updated successfully, but these errors were encountered: