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
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.
How to define a new style with YAML configuration
Enable style permission
Various code snippets showing how to use paragraph styles plugin API