summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/sysconfig/templates')
-rw-r--r--modules-available/sysconfig/templates/screensaver-text.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules-available/sysconfig/templates/screensaver-text.html b/modules-available/sysconfig/templates/screensaver-text.html
index 1fdea34b..dcb1ad81 100644
--- a/modules-available/sysconfig/templates/screensaver-text.html
+++ b/modules-available/sysconfig/templates/screensaver-text.html
@@ -63,6 +63,20 @@
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function () {
+ // Init summernote to e.g. disable video because xscreensaver can't handle it
+ $('.summernote').summernote({
+ toolbar: [
+ // [groupName, [list of button]]
+ ['style', ['bold', 'italic', 'underline', 'clear']],
+ ['font', ['strikethrough', 'superscript', 'subscript']],
+ ['fontsize', ['fontsize']],
+ ['color', ['color']],
+ ['para', ['style', 'ul', 'ol', 'paragraph']],
+ ['height', ['height']],
+ ['insert', ['picture', 'link', 'table', 'hr']],
+ ['misc', ['undo', 'redo', 'codeview', 'fullscreen']]
+ ]
+ });
switchMode({{inherit_locked}});
}, false);