浏览代码

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

panr 5 年之前
父节点
当前提交
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;
+	}
+}