• Pretty much what it says. A vast portion of blocks have alignment options baked into the block, and quickly accessible. Why not Custom HTML block, too?

    Use case: I run a music news site, and we regularly embed html streams into our posts. We’d like them to be center aligned, but have had to find work-arounds to do so . Current solution is a custom pattern, but that just adds work to a process which should be fairly simple, no?

    Conversely, if that’s not possible, why not also include patterns in the most commonly used blocks when clicking on Add Block? Right now we have to Add Block, and then search for our custom pattern even though we use it more than anything else except for Paragraph, solely because WP only wants to show our most-used blocks.

    Thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Pretty much what it says. A vast portion of blocks have alignment options baked into the block, and quickly accessible. Why not Custom HTML block, too?

    I guess the reason is to make it completely custom HTML, with no default styling getting in the way of people who don’t want it. It’s custom HTML after all, not pre-styled custom HTML.

    If you want the alignment, simply put it in a group block so it’ll inherit the group block’s styling (including alignment options). That shouldn’t take a ton of time to do.

    Thread Starter aspleniastudios

    (@aspleniastudios)

    I guess the reason is to make it completely custom HTML, with no default styling getting in the way of people who don’t want it. It’s custom HTML after all, not pre-styled custom HTML.

    Well yeah, that would make sense. If there was also a block that was just HTML which did have styling options, right? But there isn’t. I’m no programmer, but I can’t imagine it being too difficult to provide an alignment tool, which could be defaulted to “None” but still have options to align for people who do want it.

    If you want the alignment, simply put it in a group block so it’ll inherit the group block’s styling (including alignment options). That shouldn’t take a ton of time to do.

    It hasn’t, but it’s another stumbling block (haha) in the way. Inserting a new group or pattern isn’t as fast as simply clicking on Add Block and selecting from one of your most used blocks (or groups, or patterns). Also, that is putting the onus on the end users for something that is probably pretty easy to bake in to WP from the get go. I mean, the process doesn’t have to be the equivalent of a Rube Goldberg device for something so simple.

    Also, if the feature is so onerous to add, that still doesn’t negate my second suggestion, which is essentially what you are recommending, which is the make all frequently used parts, including groups or patterns, populate into the top most-used options when adding a block.

    Anyhow, it’s a feature request. Either the powers that be take it on, or don’t. I appreciate your candor and comments either way! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.