Opened 6 years ago
Closed 4 years ago
#4389 closed enhancement (reported-upstream)
Register custom block styles on WordCamp sites
Reported by: | melchoyce | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | |
Cc: |
Description
It would be really nice if we could figure out a way for WordCamp sites to be able to register custom block styles — even if it’s like, a UI where you enter a name for the style and then assign it to a CSS class (h/t @ryelle for the idea).
Attachments (1)
Change History (9)
#2
@
6 years ago
No, but that would also be awesome — both for WordCamps and, honestly, any theme using Custom CSS.
I'm talking about block styles. I'll add a screenshot :)
#3
@
6 years ago
Ah, ok, I hadn't heard of those before.
https://themeshaper.com/2019/02/15/customizing-gutenberg-blocks-with-block-styles/
I wonder if it'd be better to have a curated collection of block styles for the entire network, so that people don't have to reinvent the wheel?
That would introduce barriers to creating them, though. Maybe we could have both? Let people build custom ones on their individual sites, but then also periodically add the best/most reusable ones to a group that's available on the whole network?
It might be best to discuss this on the p2 first, to get a broader set of input and feedback than we'll get here.
This ticket was mentioned in Slack in #meta-wordcamp by ryelle. View the logs.
6 years ago
#6
@
5 years ago
- Status changed from new to assigned
The register_block_style
PHP function introduced in WP 5.3 should make this easier:
https://make.wordpress.org/core/2019/09/24/new-block-apis-in-wordpress-5-3/
This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.
4 years ago
#8
@
4 years ago
- Resolution set to reported-upstream
- Status changed from assigned to closed
This ticket has been moved to GitHub https://github.com/WordPress/wordcamp.org/issues/622
Do you mean something like the Customizer's Additional CSS panel, but for
editor-styles.css
?