You are not logged in.
Hello,
w're upgrading to the latest Xinha but we are encountering an issue with IE7: when toggling to Source View, the editor looses focus, on going back to design view The stylist Panel dissapears and Javascript complains with "Line 359... invalid argument"
I am not sure if it's a bug or we missed something in the new config options:
xinha_editors = null;
xinha_init = null;
xinha_config = null;
xinha_plugins = null;
// This contains the names of textareas we will make into Xinha editors
xinha_init = xinha_init ? xinha_init : function()
{
xinha_plugins = xinha_plugins ? xinha_plugins :
[
'GetHtml',
'SetId',
'ListType',
'Stylist',
'TableOperations',
'Filter',
'FindReplace',
'ClientsideSpellcheck',
'HtmlEntities',
'HorizontalRule',
'QuickTag',
'EditTag',
'InsertAnchor',
'InsertMarquee',
'InsertSnippet',
'SuperClean'
];
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
/** STEP 2 ***************************************************************
* Now, what are the names of the textareas you will be turning into
* editors?
************************************************************************/
xinha_editors = xinha_editors ? xinha_editors :
[
'WYEditor'
];
xinha_config = xinha_config ? xinha_config() : new Xinha.Config();
xinha_config.stylistLoadStylesheet('/MyStyle.css');
xinha_config.width = '100%';
xinha_config.height = '600px';
xinha_config.pageStyleSheets = ["/MyStyle.css"];
xinha_config.baseURL
xinha_config.baseURL = "http://blabla.blabla.org";
xinha_config.stripBaseHref = true;
xinha_config.getHtmlMethod = "DOMwalk";
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
}
Xinha._addEvent(window,'load', xinha_init);
everything works fine in FF,
Thanks for any insight.
Gaouzief
Offline
That's a bug. I filed an update under version 0.931 on the download page. You can fix this bug by replacing the file plugins/Stylist/stylist.js with the one from this archive.
Offline