Skip to content

Commit

Permalink
Merge pull request #605 from WordPress/add/inline-documentation-to-bl…
Browse files Browse the repository at this point in the history
…ocks

Add inline documentation to blocks index.
  • Loading branch information
mtias committed May 3, 2017
2 parents 67e2b2b + 0bcae51 commit 8e6a22d
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 8e6a22d

Please sign in to comment.