Do we plan to render the USWDW component code in Drupal even within the alert message itself?
The following examples message markup are as follows:
<h4 class="usa-alert__heading">
<p class="usa-alert__text">
<a class="usa-link">
<ul class="usa-list">
If we intend to, we will need to determine how to do so.
If we decide that we need to faithfully render all the USWDS component markup in the message body, we may be able to do so by way of WYSIWYG plugins or by appending the classes to WYSIWYG content upon save or update.
Any other ideas are also welcome.
Active
1.0
Code