From d92efd4edc9ec642c0d5015183c6c56bde3e0fd8 Mon Sep 17 00:00:00 2001 From: Abijeet Date: Wed, 28 Mar 2018 00:47:38 +0530 Subject: [PATCH] Adds the media plugin to TinyMCE to allow insertion of videos. Fixes #266 Signed-off-by: Abijeet --- resources/assets/sass/_pages.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/assets/sass/_pages.scss b/resources/assets/sass/_pages.scss index 3749b5321..2de274520 100755 --- a/resources/assets/sass/_pages.scss +++ b/resources/assets/sass/_pages.scss @@ -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; + } } \ No newline at end of file