mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Update utils-admin.js with tinymce
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
2018-05-04 DariusIII
|
||||
* Chg: Update utils-admin.js with tinymce
|
||||
2018-05-03 DariusIII
|
||||
* Chg: Adjust code in template files
|
||||
* Chg: Add nntmux:reset-truncate command to artisan console
|
||||
|
||||
@@ -665,8 +665,6 @@ jQuery(function($){
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
//enable Custom checkboxes for fix crap releases
|
||||
function enableFixCrapCustom(){
|
||||
var inputs = document.getElementsByName('fix_crap_opt');
|
||||
@@ -684,4 +682,23 @@ function enableFixCrapCustom(){
|
||||
checks[t].readonly = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** ****** tinyMCE ************************* **/
|
||||
tinyMCE.init({
|
||||
selector: 'textarea#addMessage',
|
||||
theme : "modern",
|
||||
plugins: [
|
||||
'advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker',
|
||||
'searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking',
|
||||
'save table contextmenu directionality emoticons template paste textcolor code'
|
||||
],
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "left",
|
||||
toolbar: 'insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code',
|
||||
fontsize_formats: "8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",
|
||||
mode : "exact",
|
||||
relative_urls : false,
|
||||
remove_script_host : false,
|
||||
convert_urls : true
|
||||
});
|
||||
Reference in New Issue
Block a user