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 #262 from ckeditor/i/5992
Browse files Browse the repository at this point in the history
Other: Set default cursor in restricted editing mode while restricted editing exceptions still have text cursor when you hover over them. Closes ckeditor/ckeditor5#5992.
  • Loading branch information
Reinmar authored Jan 21, 2020
2 parents 5252417 + ef17cb4 commit 2602ab4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions theme/ckeditor5-restricted-editing/restrictedediting.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,20 @@
padding-left: 1em;
}
}

.ck-restricted-editing_mode_restricted {
cursor: default;

/* For some reason, we also need to override user agent styles for links inside the editor. */
& *:not(.restricted-editing-exception) {
cursor: default;
}
}

.ck-restricted-editing_mode_restricted .restricted-editing-exception {
cursor: text;

& * {
cursor: text;
}
}

0 comments on commit 2602ab4

Please sign in to comment.