extending-content-add-unsafe-link-class.html 625 B

12345678910111213
  1. <style>
  2. .unsafe-link {
  3. padding: 0 2px;
  4. outline: 2px dashed red;
  5. background: #ffff00;
  6. }
  7. </style>
  8. <div id="snippet-link-unsafe-classes">
  9. <p>All links in this <a href="https://ckeditor.com">editor</a> that do not use the <a href="http://developer.mozilla.org/en-US/docs/Glossary/https">HTTPS</a> protocol
  10. have a custom <code>.unsafe-link</code> CSS <a href="http://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class">class</a> that marks them with a predefined graphic differentiator.</p>
  11. <p>Edit the URL of the links using "http://" or "https://" to see them marked as "safe" or "unsafe".</p>
  12. </div>