Last active
July 7, 2020 22:50
-
-
Save ravewebdev/f4b1757ea80ddc42e1754118fff2ca45 to your computer and use it in GitHub Desktop.
1.1.1. Create an ID attribute for your block
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
registerBlockType( 'rave/initiative-tracker', { | |
title: __( 'Initiative Tracker', 'initiative-tracker' ), | |
attributes: { | |
id: { | |
type: 'string', | |
default: '', | |
}, | |
}, | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment