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 #208 from ckeditor/t/ckeditor5/1261
Browse files Browse the repository at this point in the history
Fix: The visual effects should be disabled on a widget when the editor is in the read-only mode. Closes ckeditor/ckeditor5#1261.
  • Loading branch information
oleq authored Nov 6, 2018
2 parents 26215d5 + af957b2 commit 41d7d1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions theme/ckeditor5-widget/widget.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,9 @@
}
}
}

.ck-editor__editable.ck-read-only .ck-widget {
/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.
See: https://github.com/ckeditor/ckeditor5/issues/1261 */
--ck-widget-outline-thickness: 0;
}

0 comments on commit 41d7d1e

Please sign in to comment.