Kaynağa Gözat

Merge pull request #79 from ckeditor/t/ckeditor5/1343

Internal: Used the `.ck-read-only` class instead of the `[contenteditable]` CSS Selector. Closes https://github.com/ckeditor/ckeditor5/issues/1343).
Aleksander Nowodzinski 7 yıl önce
ebeveyn
işleme
374dae35d3

+ 1 - 1
packages/ckeditor5-media-embed/theme/mediaembedediting.css

@@ -42,6 +42,6 @@
 
 /* Disable all mouse interaction as long as the editor is not read–only.
    https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */
-*[contenteditable=true] .ck-media__wrapper > *:not(.ck-media__placeholder) {
+.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {
 	pointer-events: none;
 }