Skip to content

tharsheblows/grueziblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grueziblock

This makes two WordPress Gutenberg blocks: "Hello faq" and "Hello faq meta!". There are a lot of comments which aim to show how to save and use postmeta in a block.

The normal block which saves to post_content is in blocks/jsx/postcontent-block.jsx. The block which uses and saves to postmeta is in blocks/jsx/postmeta-block.jsx

I think I've done it so that you can just use the plugin; copy it to your plugins folder and you're good to go.

If you want to edit the blocks, edit the jsx files. These use the Editable component.

To play around with it:

  • clone the repo
  • run "npm install"
  • build using "grunt"
  • watch the jsx files with "grunt watch"

Current issues relevant to meta:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published