1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-29 23:22:34 +01:00

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;
}
}