Hi there,
There’s a little bit more to it, they’re for the most part interchangeable, as Gutenberg introduces blocks instead of shortcodes, so some content won’t necessarily be the same in both editing experiences (see for example galleries, where the new experience in Gutenberg creates direct markup while the classic editor adds a shortcode with image IDs).
In most cases, the content should work regardless, with the exception of some styling here and there for custom block markup but nothing that would break things in a major way.
Hopefully that helps clear it up a little?
Thread Starter
almcr
(@almcr)
in another post, I pointed out a link to an article on How to Test our Theme for Gutenberg. In the article, the person who posted it gives you an example of code in Gutenberg format for testing all of the Gutenberg blocks. This example shows that, yes, it is possible to create Gutenberg code externally and paste it into the Gutenberg editor using code editor mode.
I have tested this and it does work OK.
The catch in editing code externally is that it may prove difficult to write it in the proper Gutenberg format. If you do not do that, then editing your post/page with its external code using the Gutenberg editor may not work due to format errors.
Al