Advertising sustains the DA. Ads are hidden for members. Join today

Style Behaviors

Use Styles to apply CSS styles to paragraphs items altering their appearance.

Styles are defined via YAML configuration schemas for paragraph styles. Once discovered, these styles can be globally enabled for each site instance. Subsequently, enabled Styles can be attached to specific paragraph types, allowing for the application of CSS to paragraph items through Styles on paragraph type instances.

Defining a new style

How to define a new style with YAML configuration

Style permission

Enable style permission

Code snippets

Various code snippets showing how to use paragraph styles plugin API

Guide maintainers

pivica's picture