From 0363ba7b6f278416a410b22f114c91353fb34a8c Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 6 Jan 2014 10:24:14 -0600 Subject: [PATCH] Add underline button to redactor toolbars --- js/redactor-osticket.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/redactor-osticket.js b/js/redactor-osticket.js index 0fed815da..337d525a5 100644 --- a/js/redactor-osticket.js +++ b/js/redactor-osticket.js @@ -140,7 +140,12 @@ $(function() { var el = $(el), options = { 'air': el.hasClass('no-bar'), - 'airButtons': ['formatting', '|', 'bold', 'italic', 'deleted', '|', 'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'image'], + 'airButtons': ['formatting', '|', 'bold', 'italic', 'underline', 'deleted', '|', 'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'image'], + 'buttons': ['html', '|', 'formatting', '|', 'bold', + 'italic', 'underline', 'deleted', '|', 'unorderedlist', + 'orderedlist', 'outdent', 'indent', '|', 'image', 'video', + 'file', 'table', 'link', '|', 'alignment', '|', + 'horizontalrule'], 'autoresize': !el.hasClass('no-bar'), 'minHeight': el.hasClass('small') ? 75 : 150, 'focus': false, -- GitLab