-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support IDs (HTML Anchors) #41
Comments
Hi @gettonet. There was already a feature request to add an ID attribute to the blocks here: https://wordpress.org/support/topic/classes-being-added-to-the-block-outer-and-not-the-row/. As I wrote there in my opinion this should be a feature which should be added by Gutenberg itself. But since this doesn't seem to happen in the near future I will think about adding them to our blocks. |
I agree that it would be nice feature to have - and it is easy to add it. class-row-block-type.php
the default value in the same file like:
then in row/edit.js
and finally modify templates/row.php
and
|
Would be very useful if container or row would have an option to add id, along with class...Any chance of implementing this feature?
The text was updated successfully, but these errors were encountered: