浏览代码

Merge pull request #258 from ckeditor/i/5899

Fix: Removed `ck-` prefix from CSS classes used in the editor content. Closes ckeditor/ckeditor5#5899.

BREAKING CHANGE: The restricted and standard mode editing now uses `ck-restricted-editing-exception` CSS class for spans used to mark editable content.
Maciej 6 年之前
父节点
当前提交
9e2f158721

+ 3 - 3
packages/ckeditor5-theme-lark/theme/ckeditor5-restricted-editing/restrictedediting.css

@@ -10,7 +10,7 @@
 	--ck-color-restricted-editing-selected-exception-brackets: hsla(31, 100%, 40%, .6);
 }
 
-.ck-editor__editable .ck-restricted-editing-exception {
+.ck-editor__editable .restricted-editing-exception {
 	transition: .2s ease-in-out background;
 	background-color: var(--ck-color-restricted-editing-exception-background);
 	border: 1px solid;
@@ -24,7 +24,7 @@
 		var(--ck-color-restricted-editing-exception-brackets) 100%
 	) 1;
 
-	&.ck-restricted-editing-exception_selected {
+	&.restricted-editing-exception_selected {
 		background-color: var(--ck-color-restricted-editing-selected-exception-background);
 		border-image: linear-gradient(
 			to right,
@@ -35,7 +35,7 @@
 		) 1;
 	}
 
-	&.ck-restricted-editing-exception_collapsed {
+	&.restricted-editing-exception_collapsed {
 		padding-left: 1em;
 	}
 }