Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Simplify block extension examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Aug 6, 2019
1 parent 8b0e719 commit c64b60f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions examples/info-block/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ editor.block("info", {
// icon for the blocks dropdown
icon: "alert",

// the type is required and will be used to
// load the right component and snippet
type: "info",

// get the block content
props: {
content: String,
Expand Down
4 changes: 0 additions & 4 deletions examples/intro-block/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,4 @@ editor.block("intro", {

// icon for the blocks dropdown
icon: "text",

// the type is required and will be used to
// load the right component and snippet
type: "intro",
});
4 changes: 0 additions & 4 deletions examples/table-block/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ editor.block("table", {
// icon for the blocks dropdown
icon: "menu",

// the type is required and will be used to
// load the right component and snippet
type: "table",

// get the content and attrs of the block as props
props: {
content: String,
Expand Down
4 changes: 0 additions & 4 deletions examples/todo-block/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ editor.block("todo", {
// icon for the blocks dropdown
icon: "check",

// the type is required and will be used to
// load the right component and snippet
type: "todo",

// get the content and attrs of the block as props
props: {
content: String,
Expand Down

0 comments on commit c64b60f

Please sign in to comment.