Skip to content

Commit

Permalink
Add inline documentation to blocks index.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtias committed May 2, 2017
1 parent 29462aa commit 0bcae51
Showing 1 changed file with 9 additions and 0 deletions.
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';

0 comments on commit 0bcae51

Please sign in to comment.