Skip to content

[Feature Request] Global Element Styles #5657

@iocouto

Description

@iocouto

As a Developer creating sites that will be handed over to a client, I need to be able to define default HTML element styles — especially styles for elements the user is likely to create themselves, or that we'll be importing from an external data source, such as bold, italic, links, lists, captions, and headings. This is needed when the Developer uses components such as Content Blocks across different pages, or when using Content Embeds and Markdown Embeds (which right now have to be styled individually wherever they appear, or placed in a slot if possible).

Having default element styles can also cut down on styling errors and increase consistency — i.e., if I can apply a style globally to all 'links', then it's less likely that there will be an unstyled link left somewhere.

Implementation suggestion: create a list of elements under the 'Global Root' element, just like we have now in the Content Embed component, that users can select and style as a 'default' for the site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions