I love the block editor (Gutenberg). But I’m worried how easy it would be to switch themes after building posts or pages.
For instance. Different themes use different paragraph preset names and different paragraph preset font sizes.
So if I change the size of a paragraph in theme A. Then switch my site to theme B. The paragraph could now be much larger or much smaller than the surrounding text.
The block, or grouped block, could look radically different to how I originally laid out the page.
On a site with 200 or even 2000 posts and pages, this would result in theme lock in.
Is this how the block editor should work, or am I doing it wrong?
Happy to hear that you’re enjoying the Block Editor experience. And you raise an excellent question.
If you use any styles or proprietary blocks that are added to your site by a theme or a third-party plugin, you will lose that styling when you change your theme, or remove the plugin that is responsible for adding the additional styles and/or blocks.
For this reason, I would recommend sticking to the default WordPress blocks, or only use a third-party plugin (from a reputable developer or company) that you plan to use for a nice, long while.
I would NOT recommend relying heavily on custom features provided by any theme, for precisely the reasons you mention above.
Hope this helps!
Thanks for the quick reply Shawn.
The thing that surprised me was that if I…
- stick to the default WordPress blocks
- use the default WordPress theme (Twenty Twenty)
- do not install any plugins
…but then in future, I change themes.
The default WordPress blocks can look radically different (and not in a nice way). The difference depends on the new theme I pick, some are affected much more than others.
I have in the past had a “no more than 5 fancy pages rule”.
I hoped the block editor would change that. But for the moment, I think my rule will have to stay.
Thanks for your help.