Compose tips

Text Formats

Basic HTML

  • Allowed HTML tags: <strong> <em> <u> <a href data-entity-type data-entity-uuid> <ul> <li> <ol> <blockquote class data-partner> <img src alt data-entity-type data-entity-uuid data-align data-caption height width> <p> <h2> <h3> <pre> <iframe allowfullscreen frameborder height src width style scrolling allowTransparency> <s> <div> <caption>

  • 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>

Plain text

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • 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.