mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Load MediaElement's CSS when TinyMCE is loaded via $mce_css in editor_settings(). Add some baseline styles in wp-content.css for audio, video, and embed tags to ensure their max-width is 100%, regardless of whether MEjs is implemented in TinyMCE.
See #27389. git-svn-id: https://develop.svn.wordpress.org/trunk@27534 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.mejs-container, .mejs-embed, .mejs-embed body {
|
||||
background: #464646;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.mejs-controls .mejs-time-rail .mejs-time-loaded {
|
||||
|
||||
@@ -203,6 +203,13 @@ img::selection {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
audio,
|
||||
video,
|
||||
embed {
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/**
|
||||
* WP Views
|
||||
|
||||
Reference in New Issue
Block a user