You are not logged in.
If I load up Internet Explorer 7, then go into the source view in Xinha, type in this:
<div style="background: url(MyBackground.gif);">Something</div>
When I go back to the WYSIWYG mode, the code is changed to:
<div style="background: url(mybackground.gif);">Something</div>
Firefox does its own thing, but it preserves the case, at least. Normally, this is not a problem for most people, but our web server is case-sensitive and we have people that upload images with MiXeD-case filenames, and if they put in MyBackground.gif in the source code, it will not work because of the conversion. If you go to XinhaCore.js, the conversion seems to happen here:
Xinha.prototype.setMode=function(_cf){
var _d0;
...
this._editMode=_cf; <---- PROBLEM HAPPENS IMMEDIATELY AFTER THIS LINE IS EXECUTED
};
I am having trouble figuring out _editMode and why it is breaking the code. I figure it has to do with the browser's built-in engine, but the IE built-in rich text editor doesn't seem to have anything to do with _editMode.
Offline
Hi jhilgeman,
that's a bug thanks for reporting Ticket #1423 and just fixed
PS: you should grab an uncompressed source from svn if you do debugging, that much easier
Offline