-
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
Gutenberg doesn't respect "Posts page" behavior (hiding editor) in Twenty Seventeen #3659
Comments
Thanks for the report @infodiver.
Can you clarify what you mean by this? When I get to step 7, this is what I see: I'm not sure what you mean by step 8 — "add some story in the blog page". |
Also have tested against Twenty Fifteen theme with the same result. |
This ticket was mentioned in Slack in #core-editor by jeffpaul. View the logs. |
Pull request #8259 resolves this issue by adding a check for the posts page to the While this solves the issue, it does appear that there is a separate issue where all screen options are enabled anytime Gutenberg would have loaded but was prevented by this code. |
Is this really something where we should be falling back to classic editor? Could we present the equivalent information in a Gutenberg context instead? |
I don't think this is theme-specific. I've removed the associated interoperability label. Let me know if I'm wrong and it can be re-added. |
@aduth We aren't really falling back to the classic editor... we are disabling the editor completely. Assuming someone is trying to edit the blog posts page and has content, they will be able to edit it in Gutenberg. However, if they have no content, the editor will be disabled completely, as it currently is in WordPress core. |
Yes, but: Gutenberg is not just the content editor. Likening it to TinyMCE, in Classic editor when the editor is disabled, we simply don't initialize TinyMCE. In Gutenberg, we can do the same by displaying all of the chrome, but not initializing the Editor component. That being said, apparently when a post type doesn't support I'd be fine to do the same for posts page, but also think we should create a new separate issue to have better handling for the disabled editor (if one doesn't already exist). |
Issue Overview
Using twentyseventeen theme In static front page mode. Front page with panels: main page, page, one more page and blog page. Clicking edit link under blog page title allows to add story into it o_O
Steps to Reproduce (for bugs)
Google Chromium 62.0.3202.94 (Official Build) Built on Ubuntu , running on LinuxMint 18.2 (64-bit)
Expected Behavior
Expected editable title for blog page and editable permalink only like it done in core editor.
Current Behavior
Currently I can add a story for the blog page which should not have any story itself.
Possible Solution
Need handle for special pages like blog page or such.
The text was updated successfully, but these errors were encountered: