Text Formats

Basic HTML

  • Allowed HTML tags: <br> <p id class> <h1 id class> <h2 id class> <h3 id class> <h4 id class> <h5 id class> <h6 id class> <div class id> <b> <i> <cite> <dl> <dt> <dd> <address> <span id class> <figure id class> <figcaption id class> <caption id class> <video preload autoplay loop muted height width controls poster> <picture id class> <source type id media srcset sizes class> <drupal-url data-*> <a hreflang id class href> <blockquote cite class> <ul type id class> <ol type id class start> <li id class> <img srcset sizes id class src alt height width data-entity-uuid data-entity-type data-caption data-align> <drupal-entity data-embed-button alt title data-align data-caption data-entity-embed-display data-entity-embed-display-settings data-view-mode data-entity-uuid data-langcode data-entity-type> <strong> <em> <u> <code class="language-*"> <pre class="text-align-left text-align-center text-align-right text-align-justify"> <sup> <table> <tr> <td rowspan colspan> <th rowspan colspan> <thead> <tbody> <tfoot>

  • You can align images, videos, blockquotes and so on to the left, right or center. Examples:

    • Align an image to the left: <img src="" data-align="left" />
    • Align an image to the center: <img src="" data-align="center" />
    • Align an image to the right: <img src="" data-align="right" />
    • … and you can apply this to other elements as well: <video src="" data-align="center" />
  • You can caption images, videos, blockquotes, and so on. Examples:

    • <img src="" data-caption="This is a caption" />
    • <video src="" data-caption="The Drupal Dance" />
    • <blockquote data-caption="Dries Buytaert">Drupal is awesome!</blockquote>
    • <code data-caption="Hello world in JavaScript.">alert("Hello world!");</code>
  • You can embed entities. Additional properties can be added to the embed tag like data-caption and data-align if supported. Example:

    <drupal-entity data-entity-type="node" data-entity-uuid="07bf3a2e-1941-4a44-9b02-2d1d7a41ec0e" data-view-mode="teaser" />
  • You can embed URLs. Additional properties can be added to the URL tag like data-caption and data-align if supported. Examples:

    • <drupal-url data-embed-url="https://www.youtube.com/watch?v=xxXXxxXxxxX" data-url-provider="YouTube" />

Filtered Format

  • Allowed HTML tags: <a href hreflang class target> <em> <strong> <cite> <blockquote cite> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <p> <b> <strong> <span>

  • Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple of blank lines.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple of blank lines.
  • Web page addresses and email addresses turn into links automatically.