WordPress.org

Making WordPress.org

Opened 19 months ago

Closed 4 weeks 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)

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

Download all attachments as: .zip

Change History (9)

#1 @iandunn
19 months ago

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

#2 @melchoyce
19 months 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
19 months 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.

#4 @melchoyce
19 months 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.


18 months ago

#6 @coreymckrill
13 months 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 months ago

#8 @dd32
4 weeks 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

Note: See TracTickets for help on using tickets.