extending-content-allow-div-attributes.html 630 B

123456789101112
  1. <div id="snippet-div-attributes">
  2. <div id="special-section-a" style="background: #eafbd7;padding:.8em .8em 0;margin-bottom:.8em;border:1px solid #8bc34a;">
  3. <p><strong>Special section A</strong>: It has both the "style" and "id" attributes set.</p>
  4. </div>
  5. <p>Regular content of the editor.</p>
  6. <div id="special-section-b" style="background: #ffeed0;padding:.8em .8em 0;margin-bottom:.8em;border:1px solid #ff8f00;" spellcheck="false">
  7. <p><strong>Special section B</strong>: It has the "style", "id" and spellcheck="false" attributes set.</p>
  8. <p>This section disables the native browser spellchecker.</p>
  9. </div>
  10. </div>