This module integrates the USWDS design system with CKEditor, allowing users to easily add USWDS components like accordions, alerts, and summaries directly within the editor. It also provides overrides for default styling and adds attributes for enhanced table functionality.
With the USWDS library (https://designsystem.digital.gov/) becoming
a requirement for government websites thought it would be useful to have some integration with the ckeditor. The primary goal is to make it easy for a user to utilize and inject USWDS classes and components directly into the ckeditor without opening up the source.
Mainly testing and developed against USWDS 3.x
Features
CKEditor5 Integration
- Introducing Embedded Content
- USWDS Overrides
- Default class for links, lists, and tables
- USWDS Table Attributes See https://designsystem.digital.gov/components/table/
- Add abiity to make tables borderless, scrollable, stackable/responsive, and sortable with USWDS classes.
- Accordion button forked from https://www.drupal.org/project/ckeditor_accordion
- Grid layout button forked from https://www.drupal.org/project/ckeditor_bs_grid