// WP < 5.0 beta
add_filter('gutenberg_can_edit_post', '__return_false', 5);
// WP >= 5.0
add_filter('use_block_editor_for_post', '__return_false', 5);
Watch Video to live demo.
https://www.youtube.com/watch?v=Dd5zPvD7VAs
You did it :) how to switch wordpress block editor to old classic editor without any plugin
Block editor provided different types of block i.e paragraph, heading, pre-formatted text, quote, image, gallery, cover image, video, audio, columns with nested blocks, files, code, and more to show how content is displayed And Every block easily maneuverable with mouse or keyboard
Now lets come on main pount i.e "How we can use use classic editor with wordpress5 without using any plugin?". It's just a two line code that will help you to remove the new "Block Editor" and rollback to classic editor.
You will need to add given below hooks filter into theme function.php file to remove new block editor