瀏覽代碼

Widget buttons that insert paragraph before/after the widget should be hidden in restricted editing mode.

Aleksander Nowodzinski 5 年之前
父節點
當前提交
f0fa7bb10a
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      packages/ckeditor5-widget/theme/widgettypearound.css

+ 8 - 1
packages/ckeditor5-widget/theme/widgettypearound.css

@@ -77,8 +77,15 @@
 }
 
 /*
- * Integration with the read-only mode of the editor
+ * Integration with the read-only mode of the editor.
  */
 .ck.ck-editor__editable.ck-read-only .ck-widget__type-around {
 	display: none;
 }
+
+/*
+ * Integration with the restricted editing mode (feature) of the editor.
+ */
+.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {
+	display: none;
+}