Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-05-14 15:41:55

gaouzief
New member
Registered: 2007-02-15
Posts: 3

issue with IE7 after upgrading to V0.93

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

#2 2007-05-16 15:20:17

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: issue with IE7 after upgrading to V0.93

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

Board footer

Powered by FluxBB