Bladeren bron

Docs: Fixed broken custom highlight styles in the feature guide.

Aleksander Nowodzinski 7 jaren geleden
bovenliggende
commit
97ae61effb

+ 5 - 3
packages/ckeditor5-highlight/docs/_snippets/features/custom-highlight-colors-inline.html

@@ -1,12 +1,14 @@
 <style>
 	/* We are not using here :root because of many instances of editor */
-	#snippet-highlight-custom-colors-inline + .marker-green {
+	#snippet-highlight-custom-colors-inline + .ck-editor .marker-green {
 		background-color: rgb(25, 156, 25);
 	}
-	#snippet-highlight-custom-colors-inline + .marker-yellow {
+
+	#snippet-highlight-custom-colors-inline + .ck-editor .marker-yellow {
 		background-color: #cac407;
 	}
-	#snippet-highlight-custom-colors-inline + .pen-red {
+
+	#snippet-highlight-custom-colors-inline + .ck-editor .pen-red {
 		color: hsl(343, 82%, 58%);
 	}
 </style>