Opened 5 years ago

Closed 4 years ago

#4389 closed enhancement (reported-upstream)

Register custom block styles on WordCamp sites

Reported by: melchoyce's profile melchoyce Owned by:
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords:


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)

Screen Shot 2019-04-16 at 12.07.25 PM.png (57.6 KB) - added by melchoyce 5 years ago.

Download all attachments as: .zip

Change History (9)

#1 @iandunn
5 years ago

Do you mean something like the Customizer's Additional CSS panel, but for editor-styles.css ?

#2 @melchoyce
5 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 @iandunn
5 years ago

Ah, ok, I hadn't heard of those before.

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.

#4 @melchoyce
5 years ago

Getting feedback from WordCamps working with Gutenberg would be great!

This ticket was mentioned in Slack in #meta-wordcamp by ryelle. View the logs.

5 years ago

#6 @coreymckrill
5 years ago

  • Status changed from new to assigned

The register_block_style PHP function introduced in WP 5.3 should make this easier:

This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.

4 years ago

#8 @dd32
4 years ago

  • Resolution set to reported-upstream
  • Status changed from assigned to closed

This ticket has been moved to GitHub

Note: See TracTickets for help on using tickets.