Specify editor toolbars

This commit is contained in:
Skylar Ittner 2018-02-13 21:32:05 -07:00
parent 7591b5e709
commit 1714d2d7b9

View File

@ -5,7 +5,15 @@
$(".edit-btn").click(function () {
var tileid = $(this).data("tile");
$("#tile-" + tileid + "-content .tile-html").summernote({
focus: true
focus: true,
toolbar: [
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript']],
['insert', ['picture', 'link', 'video', 'table']],
['fontsize', ['fontsize']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']]
]
});
});