language.css
Same filename in other branches
Language: add styling for elements that have a language attribute.
File
-
core/
modules/ ckeditor5/ css/ language.css
View source
- /**
- * @file
- * Language: add styling for elements that have a language attribute.
- */
-
- /**
- * Show the user that a 'lang' tag has been applied by adding a thin dotted
- * border. We also append the value of the tag between brackets, for example:
- * '(en)'. Since the html element has a 'lang' attribute too we only target
- * elements within the html scope.
- */
- .ck-content [lang] {
- outline: 1px dotted gray;
- }
- .ck-content [lang]::after {
- content: " (" attr(lang) ")";
- color: #666;
- font-size: 10px;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.