$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>Cannot enable Gutenberg editor|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Cannot enable Gutenberg editor

matteradmin9PV0评论
Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 6 years ago.

Improve this question

Today I updated (locally) one of my sites from version 4.9.9 to 5.0.3 using WP CLI ($ wp core update --version=5.0.3). The update ran successfully but I have noticed two things.

  1. Gutenberg did not automatically get added into core. I had to install it manually from Plugin installation page

  2. Before update the system was using WordPress's default classic editor. Now with Gutenberg activated, I want to make it the default. When I went to Settings > Writing I don't see the Default Editor selection option.

My problem is regarding #2 above. How can I make Gutenberg the default editor?

The application I am working on was not developed by me. I have been asked to convert a few shortcodes into Gutenberg block. For this I need the Gutenberg editor as the default one.

Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 6 years ago.

Improve this question

Today I updated (locally) one of my sites from version 4.9.9 to 5.0.3 using WP CLI ($ wp core update --version=5.0.3). The update ran successfully but I have noticed two things.

  1. Gutenberg did not automatically get added into core. I had to install it manually from Plugin installation page

  2. Before update the system was using WordPress's default classic editor. Now with Gutenberg activated, I want to make it the default. When I went to Settings > Writing I don't see the Default Editor selection option.

My problem is regarding #2 above. How can I make Gutenberg the default editor?

The application I am working on was not developed by me. I have been asked to convert a few shortcodes into Gutenberg block. For this I need the Gutenberg editor as the default one.

Share Improve this question asked Feb 5, 2019 at 11:54 Subrata SarkarSubrata Sarkar 2395 silver badges16 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 3

The block editor (formerly known as Gutenberg) is the default editor. You should not need to install the plugin or choose an option to make it the default.

The plugin is now just for following and testing future developments, and the Settings > Writing option only appears if you're using the Classic Editor plugin.

The only reasons I can think of that it wouldn't already be the default editor are:

  • The Classic Editor plugin, or similar, is activated and enabled.
  • You're using a page builder plugin — or a theme with a bundled page builder — that disables or bypasses the block editor.
  • You are editing a custom post type that does not support the REST API (show_in_rest needs to be true).
  • Your host is forcing it to be disabled. Check for a wp-content/mu-plugins directory and see if it contains a file that sounds like it would do this.
  • You have otherwise added code, via plugin or theme, that disables it. Try disabling your plugins one by one until the proper editor appears.
  • You're not actually running 5.0.3. Check the bottom right corner of the admin. It should say "Version 5.0.3".

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far