When using a custom post type, the alignment controls controls intermittently show or do-not show.
register_post_type(
'test',
array(
'public' => false,
'publicly_queryable' => false,
'has_archive' => false,
'show_ui' => true,
'show_in_menu' => false,
'show_in_rest' => true,
'supports' => array(
'editor',
'custom-fields',
),
'labels' => array(
'name' => __( 'Test', 'textdomain' ),
'singular_name' => __( 'Test', 'textdomain' ),
'add_new_item' => __( 'Add New Test', 'textdomain' ),
),
)
);
Description
When using a custom post type, the alignment controls controls intermittently show or do-not show.
Step-by-step reproduction instructions
publicto befalsein theregister_post_typeSample registration code to use:
Screenshots, screen recording, code snippet
Note: This might be intermittent
We have had some team members test this and have results both ways
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes