Open the block editor with the normal admin menu and toolbar visible, instead of WordPress's fullscreen mode.
add_action( 'enqueue_block_editor_assets', function (): void {
wp_add_inline_script(
'wp-preferences',
"wp.domReady( function () { wp.data.dispatch( 'core/preferences' ).set( 'core/edit-post', 'fullscreenMode', false ); } );"
);
} );
Always add PHP to a staging site first, or have FTP or file manager access ready, so you can undo it if something goes wrong.
The post editor opens in fullscreen mode by default, hiding the admin menu. People new to WordPress often think they’ve left wp-admin and can’t find their way back. This snippet opens it with the menu showing.
Editor preferences are stored in the core/preferences data store. The snippet adds a small script after the preferences package loads, and once the page is ready it sets fullscreenMode to false for the post editor.
Because it runs each time the editor opens, the menu always shows, even if someone turned fullscreen on last time.
Open any post in the editor. The admin menu should be visible on the left.