extending-content-add-external-link-target.html 580 B

123456789101112
  1. <style>
  2. #snippet-link-external + .ck-editor .ck-content a[target="_blank"]::after {
  3. content: '\29C9';
  4. }
  5. </style>
  6. <div id="snippet-link-external">
  7. <p>External links in this <a href="https://ckeditor.com">editor</a> have a <code>target="_blank"</code>
  8. <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes">attribute</a> and will open in a new
  9. <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window">window</a>.</p>
  10. <p>Edit the URL of the links including "ckeditor.com" and other domains to see them marked as "internal" or "external".</p>
  11. </div>