Internal: `.ck` class should not be added to elements inside editor editable. See ckeditor/ckeditor5#936.
@@ -3,7 +3,10 @@
* For licensing, see LICENSE.md.
*/
-.ck.ck-placeholder::before {
- cursor: text;
- color: var(--ck-color-engine-placeholder-text);
+/* See ckeditor/ckeditor5#936. */
+.ck.ck-placeholder, .ck .ck-placeholder {
+ &::before {
+ cursor: text;
+ color: var(--ck-color-engine-placeholder-text);
+ }
}
@@ -8,7 +8,7 @@
--ck-image-upload-progress-line-width: 30px;
-.ck.image {
+.ck-content .image {
/* Showing animation. */
&.ck-appear {
animation: fadeIn 700ms;
@@ -4,6 +4,6 @@
/* Class added to span element surrounding currently selected link. */
-.ck.ck-link_selected {
+.ck .ck-link_selected {
background: var(--ck-color-link-selected-background);
@@ -13,7 +13,7 @@
--ck-color-widget-editable-focused-background: var(--ck-color-base-background),
-.ck.ck-widget {
+.ck .ck-widget {
margin: var(--ck-spacing-standard) 0;
padding: 0;