update snippets
This commit is contained in:
parent
112c528ff5
commit
14a25c725c
2 changed files with 27 additions and 11 deletions
|
|
@ -130,8 +130,8 @@ registerBlockType( '${1:namespace}/${2:block-name}', {
|
|||
icon: '${4:universal-access-alt}',
|
||||
category: '${5:layout}',
|
||||
example: {},
|
||||
edit() {
|
||||
return <div style={ blockStyle }>Hello World, step 1 (from the editor).</div>;
|
||||
edit( { className } ) {
|
||||
return <div className={ className }>Hello World, step 1 (from the editor).</div>;
|
||||
},
|
||||
save() {
|
||||
return <div style={ blockStyle }>Hello World, step 1 (from the frontend).</div>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue