Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<ul class="panel panel--yellow">
  ...
</ul>

Quotes

Want to turn a block to text into a quote? Apply the quote class. Want to attribute the quote to someone? Apple the quote__attribution class.

...

Code Block
<blockquote class="quote">
  <p>...</p>
  <p class="quote__attribution">...</p> 
</blockquote>
Info

This doesn’t only work with <blockquote> elements. Any block-level wrapper should work (e.g., <div>, <p>, etc.).

How to apply quotes in WYSIWYGs

If you only have a single-paragraph quote, simply highlight that paragraph and apply the quote class as normal.

If you have a multiple-paragraph quote, or want to add an attribution…

  1. Type out the quote in its entirety, with each paragraph and the attribution on separate lines.

  2. Highlight the entire quote, including attribution.

    highlighted paragraphs in a wysiwygImage Added
  3. From the WYSIWYG toolbar, select Formats > Blocks > Blockquote.

  4. Apply the quote class to the blockquote element, and quote__attribution class to the attribution line.

Separators

Tables

Text