8
0
Quellcode durchsuchen

Merge pull request #469 from ckeditor/t/ckeditor5/1343

Internal: Used the `.ck-read-only` class instead of the `[contenteditable]` CSS Selector. Closes https://github.com/ckeditor/ckeditor5/issues/1343).
Aleksander Nowodzinski vor 6 Jahren
Ursprung
Commit
f1c95f2db0

+ 1 - 1
packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.html

@@ -71,7 +71,7 @@
 			}
 
 			/* When in read–only mode, the editable should fade out. */
-			.ck-editor .ck-editor__editable:not([contenteditable]) {
+			.ck-editor .ck-editor__editable.ck-read-only {
 				background: #fafafa;
 				color: hsl(0, 0%, 47%);
 			}

+ 1 - 1
packages/ckeditor5-ui/docs/framework/guides/external-ui.md

@@ -187,7 +187,7 @@ Although Bootstrap provides most of the CSS, it does not come with styles dedica
 }
 
 /* When in read–only mode, the editable should fade out. */
-.ck-editor .ck-editor__editable:not([contenteditable]) {
+.ck-editor .ck-editor__editable.ck-read-only {
 	background: hsl(0, 0%, 98%);
 	color: hsl(0, 0%, 47%);
 }