extending-content-custom-figure-attributes.html 470 B

1234567891011121314151617181920212223
  1. <head>
  2. <style>
  3. .ck-content figure.table-foo table,
  4. .ck-content figure.img-foo {
  5. border: 2px solid deeppink;
  6. }
  7. </style>
  8. </head>
  9. <div id="snippet-custom-figure-attributes">
  10. <h2>Image:</h2>
  11. <figure class="image">
  12. <img alt="bar" class="img-foo" id="img-foo-1" src="%BASE_PATH%/assets/img/fields.jpg">
  13. <figcaption>Caption</figcaption>
  14. </figure>
  15. <h2>Table:</h2>
  16. <table class="table-foo" id="table-foo-1" >
  17. <tr>
  18. <td>foo</td>
  19. </tr>
  20. </table>
  21. </div>