Explorar el Código

Disabled outline of widget when editor is in readOnly mode.

dkonopka hace 7 años
padre
commit
5c0127c256

+ 6 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-widget/widget.css

@@ -130,3 +130,9 @@
 		}
 	}
 }
+
+.ck-editor__editable.ck-read-only .ck-widget {
+	/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.
+	See: https://github.com/ckeditor/ckeditor5/issues/1261 */
+	--ck-widget-outline-thickness: 0;
+}