-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Gutenberg as default editor #2824
Comments
I've looked at this a bit: best would be to add another filter in post.php that will allow replacement of all of the editor UI. I'll try to make a patch :) |
Needs the `replace_editor` filter from https://core.trac.wordpress.org/ticket/42119. See WordPress#2824.
Needs the `replace_editor` filter from https://core.trac.wordpress.org/ticket/42119. See #2824.
Needs the `replace_editor` filter from https://core.trac.wordpress.org/ticket/42119. See #2824.
Why is this being made the default editor when clicking Add New? I can understand it defaulting for Posts/Pages that have been edited in Gutenberg, but it shouldn't be the default for ALL new Posts, at least not yet, and not until it's significantly closer to being implemented in core. How do I go about creating a new post using the traditional TinyMCE Editor? The whole reason Gutenberg is currently in a plugin is so that you can use the existing core features, while trying out the new features. I currently have this running on a site where I do a lot of testing of other core functionality, and now by defaulting the editing experience to Gutenberg you're forcing me to have to constantly deactivate and reactivate the plugin when I want to switch between what I'm testing. This is a really annoying decision! |
Because it is going to be the default WordPress editor :)
There is https://wordpress.org/plugins/classic-editor/ that's going to be released later today. It is meant for exactly these user cases, even after Gutenberg gets merged in core. |
I don't think the plugin is the right solution here - while Gutenberg is a plugin, at least, people are much more likely to need to switch back to the classic editor due to something not working quite right. Similar to how we have the "Classic Editor" link in the post list table, I think there's value in having a button that performs the "New Post in Classic Editor" function. |
I couldn't agree more. Also pointed out during yesterday editor chat that IMHO is a bit too early to make Gutenberg the default editor, especially for the "Add New" link. I still need to be able to create new posts in the classic editor. Also, what about Custom Post Types? Not all CPTs will fit with Gutenberg, I guess many need the old |
I'd also like to add a change like this should have been discussed in a Trac ticket for visibility 🙂 |
Nah, it's time to live on the edge.
CPTs that don't have use the editor or don't set
Not so much, splitting discussion about Gutenberg functionality between Trac and GitHub is a recipe for masses of missed conversations. |
I couldn't find an associated issue for this, so created #3066. |
From development perspective, I'd like to be able to switch back and refer to the classic editor for parity comparisons. As long as this is available in one form or another (even via another plugin), this is not a concern for me, so long as I'm not forced to do an plugin activation dance any time I'd want to make these references. |
I don't see the change to default editor as a "Gutenberg functionality" 🙂 it is something that impacts WordPress and its whole ecosystem and as such should be discussed on Trac. |
Exactly, being a "in progress" plugin means it can be disabled if the user doesn't feel like testing it or has other issues :)
Right. It is a functionality in the Classic Editor plugin too. It can also be tested/refined while Gutenberg is a plugin. |
Why? The Gutenberg plugin is like any other plugin that enhances or replaces the editor. Very similar to the plugin that replaces TinyMCE with CKEditor, https://wordpress.org/plugins/ckeditor-for-wordpress. It's not like we are forcing anybody to use it :) Imho it is essential to let the users test creating new posts in Gutenberg, as well as editing existing posts. |
You're forcing me on trunk :) now in my day to day work I'm forced to continuously switch it on and off. |
I'm not concerned with making Gutenberg the default editor if I install & activate the Gutenberg plugin. I do believe the plugin is now at a suitable place for me to do that. However I'm still a little confused about how I can get back quickly to using the Classic Editor. I suspect I just need to deactivate the Gutenberg plugin. Is there already some documentation available that can explain this & reassure other slightly confused Gutenberg users? |
As of #3070 there's now a dropdown menu on the posts list to choose an editor from which to author the post. Hovering a post in the post list and choosing "Classic Editor" will direct you to editing that post in the classic editor. |
@aduth confusion evaporates and reassurance arrives Could be worth adding this explanation to 1.5 release notice. |
In following up with this, is there a function/etc. that CPT plugin developers can use to force that switch? For example, I am writing a very field heavy CPT plugin that Gutenberg just isn't suitable for as far as I can see. So rather than forcing my users to use that drop-down each time, is there a way that my plugin could do something like:
So that when they add a new post of this CPT, they will automatically get the classic editor. |
@cedon Short answer yes. With templates and blocks saving to custom fields. We think Gutenberg is suited for field heavy CPTs. The tooling around this is not there yet. That said, you can declare that your metaboxes are not compatible with Gutenberg which should redirect automatically to the classic editor. Details here https://wordpress.org/gutenberg/handbook/reference/meta-box/#testing-converting-and-maintaining-existing-meta-boxes |
My CPT basically looks like a health questionnaire you'd get at the doctor's office though. That's where my concern is. If I saw something in Gutenberg that could do it and that I could reference, I'd gladly update the plugin since it's at the state where I am now starting to construct metaboxes and such. I do think that something should be added outside of |
Last Wordpress update install Gutenberg, so I can’t use tinyMCE anymore. How I can switch to my plugin tinyMCE Advanced? Thx |
Related: #2159
As Gutenberg stabilizes, we should begin to develop a strategy by which it will take the place of the current post editor. As it stands, the Gutenberg editor is relegated to a separate admin sidebar menu section and surfaced through secondary actions in the posts list screens. Now also as of #1797, when generating an edit link for a post, it will default to the Gutenberg editor if the post contains block content.
Task: Change Add New for all posts admin menus and admin bar to direct to the Gutenberg editor, not as a separate submenu screen, but integrated into the default post editing workflow.
Open questions:
The text was updated successfully, but these errors were encountered: