Skip to content

Commit

Permalink
Adds the media plugin to TinyMCE to allow insertion of videos.
Browse files Browse the repository at this point in the history
Fixes #266

Signed-off-by: Abijeet <[email protected]>
  • Loading branch information
Abijeet committed Apr 14, 2018
1 parent 0ade9b5 commit d92efd4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/assets/sass/_pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit d92efd4

Please sign in to comment.