Skip to content

Enable as many "supports" attributes as make sense for styling a field / virtual field #10

@bobbingwide

Description

@bobbingwide

The Field block's "supports" section is currently

"html": false,
"className": false

Requirements

It should be possible to support:

  • font size
  • font weight
  • colours
  • alignment
  • etc
    It would be nice if we could also style the label, when the showLabel toggle is on.

Specific requirement

For the oik-events plugin it would be nice to be able to style the following 3 (virtual) fields to appear similar to the calendar date
format that's used in some events calendar plugins.

  • event_mon eg Jan-Dec
  • event_day eg Mon-Sun
  • event_dd eg 1-31

image
image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions