Parcourir la source

Integrated the fake horizontal caret with the widget selection handle.

Aleksander Nowodzinski il y a 5 ans
Parent
commit
34a2b618c0

+ 8 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css

@@ -138,6 +138,14 @@
 			opacity: 0;
 		}
 	}
+
+	/*
+	 * Fake horizontal caret integration with the selection handle. When the caret is visible, simply
+	 * hide the handle because it makes no sense and intersects with the caret.
+	 */
+	&.ck-widget_type-around_active_before.ck-widget_with-selection-handle > .ck-widget__selection-handle {
+		display: none;
+	}
 }
 
 /*