Changeset 980
- Timestamp:
- 03/21/08 17:16:28 (5 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
Xinha.css (modified) (1 diff)
-
XinhaCore.js (modified) (3 diffs)
-
modules/InternetExplorer/InternetExplorer.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xinha.css
r951 r980 1 1 .htmlarea { background: #fff; } 2 2 .htmlarea td { margin:0;padding:0; } 3 4 .htmlarea .toolbarRow { 5 width:1px; 6 } 3 7 4 8 .htmlarea .toolbar { -
trunk/XinhaCore.js
r973 r980 2149 2149 editor.registerPlugin('EnterParagraphs'); 2150 2150 } 2151 //TEMPORARY FIX FOR IE8 see #1175 2152 if (Xinha.ie_version == 8) 2153 { 2154 this.config.getHtmlMethod = 'TransformInnerHTML'; 2155 } 2151 2156 2152 2157 switch (this.config.getHtmlMethod) … … 6124 6129 console.log(prop + ' = ' + o[prop] + '\n'); 6125 6130 } 6126 else 6131 else 6132 { 6127 6133 s += prop + ' = ' + o[prop] + '\n'; 6134 } 6135 6128 6136 } 6129 6137 if (s) 6130 6138 { 6131 var x = window.open("", "debugger"); 6132 x.document.write('<pre>' + s + '</pre>'); 6139 if (document.getElementById('errors')) 6140 { 6141 document.getElementById('errors').value += s; 6142 } 6143 else 6144 { 6145 var x = window.open("", "debugger"); 6146 x.document.write('<pre>' + s + '</pre>'); 6147 } 6148 6133 6149 } 6134 6150 } … … 7134 7150 Xinha.init(); 7135 7151 7136 if ( Xinha.is_ie)7152 if ( Xinha.ie_version < 8 ) 7137 7153 { 7138 7154 Xinha.addDom0Event(window,'unload',Xinha.collectGarbageForIE); -
trunk/modules/InternetExplorer/InternetExplorer.js
r976 r980 638 638 Xinha.getDoctype = function (doc) 639 639 { 640 return (doc.compatMode == "CSS1Compat" ) ? '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">' : '';641 }; 640 return (doc.compatMode == "CSS1Compat" && Xinha.ie_version < 8 ) ? '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">' : ''; 641 };
