]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
0ade9b5
)
Adds the media plugin to TinyMCE to allow insertion of videos.
author
Abijeet
<redacted>
Tue, 27 Mar 2018 19:17:38 +0000
(
00:47
+0530)
committer
Abijeet
<redacted>
Sat, 14 Apr 2018 13:00:28 +0000
(18:30 +0530)
Fixes #266
Signed-off-by: Abijeet <redacted>
resources/assets/sass/_pages.scss
patch
|
blob
|
history
diff --git
a/resources/assets/sass/_pages.scss
b/resources/assets/sass/_pages.scss
index 3749b53210d45f18ce7a92fe89c0ce7e6be2a78a..2de274520f49cf3a18df207c137837275523ae7b 100755
(executable)
--- 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