mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Move tinyMCE init to utils-admin.js
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
2016-09-22 DariusIII
|
||||
* Chg: Move tinyMCE init to utils-admin.js
|
||||
2016-09-21 DariusIII
|
||||
* Chg: Add installer for NNTmux
|
||||
2016-09-20 DariusIII
|
||||
|
||||
@@ -741,3 +741,21 @@ function enableFixCrapCustom(){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** ****** tinyMCE ******/
|
||||
tinyMCE.init({
|
||||
selector: 'textarea#body',
|
||||
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"
|
||||
});
|
||||
|
||||
/** ****** end tinyMCE ******/
|
||||
|
||||
@@ -128,23 +128,6 @@
|
||||
<!-- pace -->
|
||||
<script src="{$smarty.const.WWW_THEMES}/shared/assets/pace/pace.min.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
tinyMCE.init({
|
||||
selector: 'textarea#body',
|
||||
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"
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user