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

Question: feasibility of using Gutenberg blocks in both WordPress source and Gatsby front-end #8207

Closed
ataylorme opened this issue Sep 16, 2018 · 2 comments

Comments

@ataylorme
Copy link

Summary

WordPress has a new editing experience, codenamed Gutenberg, in development scheduled to be released with WordPress 5.0.

The new editing experience is built on React and has the concept of blocks. I would like to use WordPress as a source for Gatsby. Ideally, the React components used in Gutenberg blocks can be reused in Gatsby so that the visual representation of what is shown in the WordPress editor is accurate to what the Gatsby built front-end will look like.

Gutenberg, by default, saves block and attribute data as JSON in HTML comments. My initial concept is to read the content from WordPress and repopulate the blocks and their attributes at build time in Gatsby.

I've built a simple site on Gatsby 1 with Markdown as a source. I have also built custom Gutenberg blocks and have a decent grasp of React. I'm curious if this is possible/worth attempting before digging in deeper.

@helmutgranda
Copy link

Here is a similar thread: #7465

@kakadiadarpan
Copy link
Contributor

@ataylorme How about we keep the discussion about Gutenberg blocks in the thread pointed out by @helmutgranda?

Closing in favor of #7465

(Please feel free to reopen if you disagree 🙂)

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

3 participants