You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a CPT, in order to enable Gutenberg for it we need to set show_in_rest to true.
Unfortunately, even though show_in_rest is set to true, the editor UI reverts back to the classic editor when the editor option is omitted from the supports CPT argument.
I know that it actually makes complete sense but imagine having only custom fields for a CPT. This will confuse users to see the classic editor.
Also, what would happen when GB is merged into the core?
The text was updated successfully, but these errors were encountered:
kmgalanakis
changed the title
Gutenberg is gone for CPT when the "editor" option is missing from the "supports" argument
Gutenberg is gone for CPTs when the "editor" option is missing from the "supports" argument
Mar 14, 2018
This was intentional as gutenberg is an editing optimized view while the majority of the feedback we got was that post types that didn't require the visual editor should continue to work as they do now in wp-admin.
Going to close but thanks for the point of feedback as it might become relevant for the 5.0 roadmap.
When creating a CPT, in order to enable Gutenberg for it we need to set
show_in_rest
to true.Unfortunately, even though
show_in_rest
is set to true, the editor UI reverts back to the classic editor when theeditor
option is omitted from thesupports
CPT argument.To test this use the simple code below:
I know that it actually makes complete sense but imagine having only custom fields for a CPT. This will confuse users to see the classic editor.
Also, what would happen when GB is merged into the core?
The text was updated successfully, but these errors were encountered: