Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #258 from ckeditor/i/5899
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jodator authored Dec 9, 2019
2 parents 7810a0f + 1c508ad commit 599f16e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions theme/ckeditor5-restricted-editing/restrictedediting.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand All @@ -35,7 +35,7 @@
) 1;
}

&.ck-restricted-editing-exception_collapsed {
&.restricted-editing-exception_collapsed {
padding-left: 1em;
}
}

0 comments on commit 599f16e

Please sign in to comment.