Topic: toolbarMenu in tiny ?!?!?!
I need to integrate toolbar menu in tinyMCE ...
Do tou think it's better to add a plugin or modify ths source code ? I ask the question because if one or more instaces of tiny are load, only one toolbar must be displayed ...
i've found a menu based on Cssfile (look at iubito's menu)
this menu is compatible with MSIE and Gecko (can't try safari) and
my idea is ti initialise toolbar menu as toolbar box in advanced mode :
theme_advanced_layout_manager : "RowLayout",
theme_advanced_toolbarMenu_Display : true,
theme_advanced_toolbarMenu_position : "horisontal", //or vertical
theme_advanced_toolbarMenu_containers : "File,Editon,Insert",
theme_advanced_toolbarMenu_alignement : "left", //or right,center
theme_advanced_toolbarMenu_widthMenus : "20px", //or for each menu width=20px or an array correspondig to they containers :"20px,10px,35px" ...
theme_advanced_toolbarMenu_heightMenus : "20px", //or for each menu height=20px or an array correspondig to they containers :"20px,10px,35px" ...
theme_advanced_toolbarMenu_spacing : "2px", //or spacing enter each menu
theme_advanced_toolbarMenu_top : "0px", //or position at top
theme_advanced_toolbarMenu_left : "0px", //or position at left
theme_advanced_toolbarMenu_scroll : "true", //or or false, if true, menubar item follow the page scroll
theme_advanced_toolbarMenu_displaySelect : "true", //or on IE, my menu is bettween tag <select> if this option is true, menucontrol display all <select> when sub-menu is displayed
theme_advanced_toolbarMenu_CssFile : "myCssFileMenu.css", //or the cssfile for menu toolbar
theme_advanced_toolbarMenu_mainMenu_Class : "mainMenu", //or class of mainMenu in cssFile
theme_advanced_toolbarMenu_subMenu_Class : "subMenu", //or class of subMenus in the cssFile
//image of mainMenu and subMenu, on select, hover et other are defined in the CSSFile
//Define the element who appear in each menu based on the real button of tinyMCE :P
theme_advanced_toolbarMenu_containers_File : "newdocument,save,separator,preview,print,...",
theme_advanced_toolbarMenu_containers_Editon : "undo,redo,separator,cut,copy,paste",
theme_advanced_toolbarMenu_containers_Insert : "link,unlink,",what do you think about that ? (plugin or not plugin ... that is the question ....
)
is it a good idea to integrate this in Tiny ? I ask too much question ?
i begin to modify my project, but if u cwant to integrate this in tiny, i'm intersting to collaborate ![]()
voilà ![]()
happy coding ![]()