文本格式
Basic HTML
允许的HTML标签:<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" />
- Align an image to the left:
-
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>
Filtered Format
允许的HTML标签:<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.
纯文本
- 不允许使用HTML标签。
- 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.
- 网页和电子邮件地址自动转换为链接。