Created
January 6, 2020 23:37
-
-
Save kharissulistiyo/5a5bd3635d93eb7eb7cf551e84e975c0 to your computer and use it in GitHub Desktop.
Block settings in edit() function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edit: function( props ) { | |
var attributes = props.attributes; | |
return( | |
el( 'div', { className: props.className }, | |
el( 'p', {}, i18n.__( 'Card block is here', 'risbl-card-block' ) ), | |
// Other HTML elements goes here | |
) | |
); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment