summaryrefslogtreecommitdiffstats
path: root/modules-available/news
diff options
context:
space:
mode:
authorSimon Rettberg2016-07-04 16:06:27 +0200
committerSimon Rettberg2016-07-04 16:06:27 +0200
commit6476ab2d0f482b8af9140c05a5c23e74922161a3 (patch)
tree6648b0a124a48aaf1d645c7d0714c5b145ff920d /modules-available/news
parentRename js plugin modules to be prefixed with "js_" (diff)
downloadslx-admin-6476ab2d0f482b8af9140c05a5c23e74922161a3.tar.gz
slx-admin-6476ab2d0f482b8af9140c05a5c23e74922161a3.tar.xz
slx-admin-6476ab2d0f482b8af9140c05a5c23e74922161a3.zip
[news/summernote] Make button selection match capabilities of Qt/vmchooser
Diffstat (limited to 'modules-available/news')
-rw-r--r--modules-available/news/style.css6
-rw-r--r--modules-available/news/templates/page-news.html6
2 files changed, 6 insertions, 6 deletions
diff --git a/modules-available/news/style.css b/modules-available/news/style.css
new file mode 100644
index 00000000..c11567ec
--- /dev/null
+++ b/modules-available/news/style.css
@@ -0,0 +1,6 @@
+/* Make things look more like they will show up in vmchooser (Qt) */
+
+.note-editor pre {
+ background: none;
+ border: none;
+}
diff --git a/modules-available/news/templates/page-news.html b/modules-available/news/templates/page-news.html
index c698e408..7750137e 100644
--- a/modules-available/news/templates/page-news.html
+++ b/modules-available/news/templates/page-news.html
@@ -102,9 +102,3 @@
</div>
</div>
</div>
-{{#hasSummernote}}
-<script>
-document.addEventListener("DOMContentLoaded", function () {
-});
-</script>
-{{/hasSummernote}}