custom-heading-elements.html 291 B

12345678910111213
  1. <style>
  2. h2.fancy, .ck-heading_heading2_fancy {
  3. color: #ff0050;
  4. font-size: 17px;
  5. }
  6. </style>
  7. <div id="snippet-custom-heading-elements">
  8. <h1>Heading 1</h1>
  9. <h2>Heading 2</h2>
  10. <h2 class="fancy">Fancy Heading 2</h2>
  11. <p>This is <a href="https://ckeditor.com">CKEditor 5</a>.</p>
  12. </div>