|
|
|
@ -692,22 +692,13 @@ function print_add_ticket()
|
|
|
|
|
<?php if ($modsForHesk_settings['rich_text_for_tickets_for_customers']): ?>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
/* <![CDATA[ */
|
|
|
|
|
tinyMCE.init({
|
|
|
|
|
mode: "textareas",
|
|
|
|
|
editor_selector: "htmlEditor",
|
|
|
|
|
elements: "content",
|
|
|
|
|
theme: "advanced",
|
|
|
|
|
convert_urls: false,
|
|
|
|
|
plugins: "autolink",
|
|
|
|
|
|
|
|
|
|
theme_advanced_buttons1: "cut,copy,paste,|,undo,redo,|,formatselect,fontselect,fontsizeselect,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull",
|
|
|
|
|
theme_advanced_buttons2: "sub,sup,|,charmap,|,bullist,numlist,|,outdent,indent,insertdate,inserttime,preview,|,forecolor,backcolor,|,hr,removeformat,visualaid,|,link,unlink,anchor,image,cleanup",
|
|
|
|
|
theme_advanced_buttons3: "",
|
|
|
|
|
|
|
|
|
|
theme_advanced_toolbar_location: "top",
|
|
|
|
|
theme_advanced_toolbar_align: "left",
|
|
|
|
|
theme_advanced_statusbar_location: "bottom",
|
|
|
|
|
theme_advanced_resizing: true
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
$('#message').summernote({height: 200,
|
|
|
|
|
toolbar: [
|
|
|
|
|
['style', ['bold', 'italic', 'underline', 'clear']],
|
|
|
|
|
['font', ['strikethrough', 'superscript', 'subscript']],
|
|
|
|
|
['para', ['ul', 'ol']]
|
|
|
|
|
]});
|
|
|
|
|
});
|
|
|
|
|
/* ]]> */
|
|
|
|
|
</script>
|
|
|
|
|