language.css

Same filename in other branches
  1. 9 core/modules/ckeditor5/css/language.css
  2. 11.x core/modules/ckeditor5/css/language.css

Language: add styling for elements that have a language attribute.

File

core/modules/ckeditor5/css/language.css

View source
  1. /**
  2. * @file
  3. * Language: add styling for elements that have a language attribute.
  4. */
  5. /**
  6. * Show the user that a 'lang' tag has been applied by adding a thin dotted
  7. * border. We also append the value of the tag between brackets, for example:
  8. * '(en)'. Since the html element has a 'lang' attribute too we only target
  9. * elements within the html scope.
  10. */
  11. .ck-content [lang] {
  12. outline: 1px dotted gray;
  13. }
  14. .ck-content [lang]::after {
  15. content: " (" attr(lang) ")";
  16. color: #666;
  17. font-size: 10px;
  18. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.