You are not logged in.
Pages: 1
i'm not seeing the 'save as' button in firefox or safari. it appears and works in ie.
if remove "Xinha.is_gecko ? [] :" from the config, the button will appear in firefox and safari, however, firefox pops an error and safari does nothing at all.
thoughts?
apologies if this has already been posted and i missed it.
this is my config:
xinha_editors=null;
xinha_init=null;
xinha_config=null;
xinha_plugins=null;
xinha_init=xinha_init?xinha_init:function(){
xinha_editors=xinha_editors?xinha_editors:["myTextArea"];
xinha_plugins=xinha_plugins?xinha_plugins:
[
'ContextMenu',
];
if(!Xinha.loadPlugins(xinha_plugins,xinha_init)){
return;
}
xinha_config=xinha_config?xinha_config():new Xinha.Config();
xinha_config.pageStyleSheets=["examples/full_example.css"];
xinha_config.toolbar =
[
["popupeditor"],
["separator","fontname","fontsize","bold","italic"],
["linebreak","separator","undo","redo","selectall"], (Xinha.is_gecko ? [] : ["separator","cut","copy","paste","overwrite","separator","saveas"]),
["separator","print"],
];
xinha_config.showLoading = false;
xinha_editors=Xinha.makeEditors(xinha_editors,xinha_config,xinha_plugins);
xinha_editors.myTextArea.config.height = '300px';
Xinha.startEditors(xinha_editors);
};
Xinha.addOnloadHandler(xinha_init);
Offline
Pages: 1