Skip to content
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

Block API: Allow blocks to specify attributes that map to meta fields #2754

Closed
mtias opened this issue Sep 20, 2017 · 4 comments
Closed

Block API: Allow blocks to specify attributes that map to meta fields #2754

mtias opened this issue Sep 20, 2017 · 4 comments
Labels
[Feature] Block API API that allows to express the block paradigm. [Type] Task Issues or PRs that have been broken down into an individual action to take
Milestone

Comments

@mtias
Copy link
Member

mtias commented Sep 20, 2017

At the moment a block's attributes can come from two places: sourced from HTML, or serialized as JSON in HTML comments.

We want to allow attributes that can be retrieved and saved in post meta. Such attributes won't exist in the HTML, meaning they rely on server rendering through get_post_meta().

@mtias mtias added [Feature] Block API API that allows to express the block paradigm. [Type] Task Issues or PRs that have been broken down into an individual action to take labels Sep 20, 2017
@mtias
Copy link
Member Author

mtias commented Sep 20, 2017

Added in #2740.

@mtias mtias added this to the Beta 1.2 milestone Sep 20, 2017
@aduth
Copy link
Member

aduth commented Sep 20, 2017

Related: #2751

@aduth aduth changed the title Allow blocks to specify attributes that map to meta fields Block API: Allow blocks to specify attributes that map to meta fields Sep 20, 2017
@aduth
Copy link
Member

aduth commented Sep 20, 2017

Related: #2759

@aduth
Copy link
Member

aduth commented Sep 26, 2017

Closed by #2740

@aduth aduth closed this as completed Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block API API that allows to express the block paradigm. [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
None yet
Development

No branches or pull requests

2 participants