Explorar o código

Prevent of opening links of not selected media embed.

Mateusz Samsel %!s(int64=6) %!d(string=hai) anos
pai
achega
5e0f6c4107
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      packages/ckeditor5-media-embed/theme/mediaembed.css

+ 4 - 0
packages/ckeditor5-media-embed/theme/mediaembed.css

@@ -19,3 +19,7 @@
 	from being "squashed" in tight spaces, e.g. in table cells (#44) */
 	min-width: 15em;
 }
+
+.ck-editor__editable:not( .ck-read-only ) .ck-widget:not( .ck-widget_selected ) .ck-media__placeholder {
+	pointer-events: none;
+}