Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add inline documentation to blocks index.
  • Loading branch information
mtias committed May 2, 2017
commit 0bcae519294cc9ffc3b7955e02258ace72eb6a7e
9 changes: 9 additions & 0 deletions blocks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,14 @@
*/
import './library';

// A "block" is the abstract term used to describe units of markup that,
// when composed together, form the content or layout of a page.
// The API for blocks is exposed via `wp.blocks`.
//
// Supported blocks are registered by calling `registerBlock`. Once registered,
// the block is made available as an option to the editor interface.
//
// Blocks are inferred from the HTML source of a post through a parsing mechanism
// and then stored as objects in state, from which it is then rendered for editing.
export * from './api';
export * from './components';