소스 검색

Fix: Set default cursor in restricted editing mode while restricted editing exceptions still have text cursor when you hover over them

panr 6 년 전
부모
커밋
d3c3f66e91
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      packages/ckeditor5-theme-lark/theme/ckeditor5-restricted-editing/restrictedediting.css

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

@@ -39,3 +39,19 @@
 		padding-left: 1em;
 	}
 }
+
+.ck-restricted-editing_mode_restricted {
+	cursor: default;
+
+	& *:not(.restricted-editing-exception) {
+		cursor: default;
+	}
+}
+
+.ck-restricted-editing_mode_restricted .restricted-editing-exception {
+	cursor: text;
+
+	& * {
+		cursor: text;
+	}
+}