[*] BO : remove tiny_mce hard coded setup to tinymce.inc.js
This commit is contained in:
@@ -30,10 +30,6 @@
|
||||
tabs_manager.onLoad('Informations', function(){
|
||||
tinySetup({
|
||||
editor_selector :"autoload_rte",
|
||||
theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
|
||||
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,,|,forecolor,backcolor",
|
||||
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,media,|,ltr,rtl,|,fullscreen",
|
||||
theme_advanced_buttons4 : "styleprops,|,cite,abbr,acronym,del,ins,attribs,pagebreak",
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed)
|
||||
{
|
||||
|
||||
@@ -398,11 +398,7 @@
|
||||
$(document).ready(function(){
|
||||
{block name="autoload_tinyMCE"}
|
||||
tinySetup({
|
||||
editor_selector :"autoload_rte",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull|cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,undo,redo",
|
||||
theme_advanced_buttons2 : "link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor,|,hr,removeformat,visualaid,|,charmap,media,|,ltr,rtl,|,fullscreen",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_buttons4 : ""
|
||||
editor_selector :"autoload_rte"
|
||||
});
|
||||
{/block}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user