Adds the media plugin to TinyMCE to allow insertion of videos.

Fixes #266

Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
Abijeet 2018-03-28 00:47:38 +05:30
parent 0ade9b5b9b
commit d92efd4edc

View File

@ -309,4 +309,14 @@
.comment-editor .CodeMirror, .comment-editor .CodeMirror-scroll {
min-height: 175px;
}
/* FIXME - Ugly hack to modify the media plugin for TinyMCE */
.mce-floatpanel[aria-label="Insert/edit media"] {
.mce-open {
display: none;
}
.mce-tab:last-of-type {
display: none;
}
}