1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | .ck-media__wrapper {
|
7 | & .ck-media__placeholder {
|
8 | display: flex;
|
9 | flex-direction: column;
|
10 | align-items: center;
|
11 |
|
12 | & .ck-media__placeholder__url {
|
13 |
|
14 | max-width: 100%;
|
15 |
|
16 | position: relative;
|
17 |
|
18 | & .ck-media__placeholder__url__text {
|
19 | overflow: hidden;
|
20 | display: block;
|
21 | }
|
22 | }
|
23 | }
|
24 |
|
25 | &[data-oembed-url*="twitter.com"],
|
26 | &[data-oembed-url*="google.com/maps"],
|
27 | &[data-oembed-url*="goo.gl/maps"],
|
28 | &[data-oembed-url*="maps.google.com"],
|
29 | &[data-oembed-url*="maps.app.goo.gl"],
|
30 | &[data-oembed-url*="facebook.com"],
|
31 | &[data-oembed-url*="instagram.com"] {
|
32 | & .ck-media__placeholder__icon * {
|
33 | display: none;
|
34 | }
|
35 | }
|
36 | }
|
37 |
|
38 |
|
39 |
|
40 | .ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {
|
41 | pointer-events: none;
|
42 | }
|
43 |
|
44 |
|
45 |
|
46 | .ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder {
|
47 | pointer-events: none;
|
48 | }
|