I can not use Gutenberg in any way.. even with DEMO
Description
I want to use Gutenber in my site, but all post and pages always edit with the editor clasic. I've uninstalled clasic editor, and also all related plugins I had been using in the past. However, nothing happens. I can not use gutenberg. I installed Gutenberg Version 12.7.2 but I can not find where I need to configure or what I need to do more... It is really frustrating. Is there some configuration in the wordpress files where I can find another solution to force Gutenberg use technically? maybe some .php configuration file?
Step-by-step reproduction instructions
- Go to Pages
- Click on Edit any Page
- Always open with Classic Editor.
- I can not find any option related with edit with Gutenberg.
Environment info Wordpress version 5.9.1, Gutenberg 12.7.2, Theme GeneratePress 3.1.0 Problem in Chrome, Firefox, Edge. Desktop windows 10, and Phone with Andriod 11
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
CodePudding user response:
add_filter('use_block_editor_for_post', '__return_true', 999);
CodePudding user response:
I also find a way to force wordpress to use Gutenberg in post.php
file. It does not depend on the theme. (Make sure to create a copy of the original file).
Find function use_block_editor_for_post
and add:
return true;