-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
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.