8
0
Просмотр исходного кода

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

Aleksander Nowodzinski 5 лет назад
Родитель
Сommit
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;
+}