-
Notifications
You must be signed in to change notification settings - Fork 5
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
Attributes: what do the source and selector properties do? #147
Comments
A draft of this post is now ready for review. |
A public preview of the attributes post is now available for review: |
Pre and post publishing checklist:
|
Hi @mburridge
I went ahead and published it. 🚢 Hope, you are ok with the small changes. Please review your post-publish check from this issue |
Discussed in #138
Originally posted by mburridge June 29, 2023
Block attributes are typically stored in the comment delimiter, and the values are fetched from there when the block is parsed to be displayed in the editor. But did you know that attribute values can also be stored in the block content? You can use the
source
andselector
properties to determine where in the saved block the attribute values are fetched from at parse time.This post will be an introduction to using and saving attributes - basically a friendlier and more tutorial-based version of the content in the Attributes page in the handbook, and with more examples.
The text was updated successfully, but these errors were encountered: