Skip to content
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

New Gutenberg editor not working in Sandstorm #34

Open
JamborJan opened this issue Aug 6, 2018 · 2 comments
Open

New Gutenberg editor not working in Sandstorm #34

JamborJan opened this issue Aug 6, 2018 · 2 comments

Comments

@JamborJan
Copy link
Member

JamborJan commented Aug 6, 2018

Currently I excluded the new Gutenberg editor in the Sandstorm Port of WordPress because an error occurs. Saving a new post or page doeasn't work. In the browser console you can see:

index.js?ver=1533578375:1 POST http://ui-6803106256ce63a444ff0499be686df5.local.sandstorm.io:6080/wp-json/wp/v2/posts/5 400 (Bad Request)

and

{code: "rest_cannot_edit", message: "Sorry, you are not allowed to edit this post.",…}
code
:
"rest_cannot_edit"
data
:
{status: 401}
message
:
"Sorry, you are not allowed to edit this post."

I'll take a look at this and try to include the Gutenberg editor in one of the next packages of the app.

See branche: https://github.com/sandstormports/wordpress/tree/feature-gutenberg-test

@tian2992
Copy link

tian2992 commented Nov 8, 2018

Is WP-REST api working?

@JamborJan
Copy link
Member Author

Hey @tian2992, inside the application container where wordpress is running in there should be no problem with the API. Do you know any test / trick to find out that this is not an issue?

After a blog post / page is saved and the website is published (the sandstorm specific button) there should be no dynamic component working as only a complete static copy if the website is published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants