Skip to content

Add ability to disable Color Settings on Table Block #16478

@dougwollison

Description

@dougwollison

Is your feature request related to a problem? Please describe.

Currently, I can disable both pre-defined and custom color options for paragraphs by registering an empty array for the editor-color-palette support as well as adding the disable-custom-colors "support". However, this doesn't affect table blocks (since they use a separate color set).

Describe the solution you'd like

A way—either via theme supports, or hooking into the blocks.registerBlockType filter—to disable or replace the color options on table blocks.

Describe alternatives you've considered

Currently I can just hide the panel in CSS, but this obviously isn't an ideal solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CustomizationIssues related to Phase 2: Customization efforts[Block] TableAffects the Table Block

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions