[wp-trac] [WordPress Trac] #59673: Add viewStyle block.json property for frontend-only block styles
WordPress Trac
noreply at wordpress.org
Wed Jan 31 11:40:04 UTC 2024
#59673: Add viewStyle block.json property for frontend-only block styles
-----------------------------------------------------+---------------------
Reporter: gaambo | Owner: gziolo
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.5
Component: Editor | Version: 6.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests needs-dev-note | Focuses:
-----------------------------------------------------+---------------------
Comment (by gziolo):
> Should this be handled in core or in Gutenberg?
No need to do anything for now.
> Same question as above. Also: My experience with writing tests is
minimal, not sure how we'd build and print HTML in unit tests to account
for that. I would be glad to help or learn, if somebody is willing to
guide me through it.
Maybe we could cover it with e2e tests in Gutenberg by registering a
custom plugin, like the one I used to test changes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59673#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list