Plugin needs menu option to add New Page
Issue Overview
At the moment, the Gutenberg plugin provides the option to add a New Post. It doesn't provide the option to add a New Page though, even though you can edit a page in Gutenberg.
Expected Behavior
I should be able to add a new Page.
Current Behavior
I have to add a new Page using the existing Pages > Add New menu option. I then have to save as draft, browse browse back to the Dashboard and then re-edit the page using Gutenberg.
Possible Solution
Simply add a New Page option to the Gutenberg menu.
Plugin Version 0.7.1
I agree being explicit and adding 'new page' could be good for users.
I'd like to take this one on.
That's great @grantpalin, look forward to your pull request!
Added a PR. A couple of issues I have with it:
- Both subitems are bolded when one is active:
I suspect that I need to distinguish the menu-slugattribute on theadd_submenu_pagecalls, but trying that yields:
And in both cases the entry is saved as a post. - Ensuring that Gutenberg knows it is doing a page and not a post - haven't yet found out how
I am New to Open Source Contribution world, can I contribute on this issue ? I'd Like to take this issue. @mtias
With bdf94e6 landing, we don't need this menu item anymore.
@pento Is this forcing Gutenberg to be the default editor when you click the Add New button on the Posts and Page screens? I really hope that's not the case. The Gutenberg plugin shouldn't be making itself the default editor. It's a plugin for a reason and shouldn't be changing the default editing experience. If this is the case, is there a Github issue you can link to that is discussing this?
@maddisondesigns Discussed on https://github.com/WordPress/gutenberg/issues/2824