[TYPO3-english] IE 8 and htmlarea RTE problem.

Braulio J. Solano-Rojas braulio at solsoft.biz
Thu Jul 29 04:44:28 CEST 2010


Hi Steffen.

El 28/07/2010 01:24 a.m., Steffen Gebert escribió:
> Am 27.07.10 22:34, schrieb Braulio J. Solano-Rojas:
>>
>> Message: Expected ')'
>> Line: 907
>> Character: 490
>> Code: 0
>> URI:
>> typo3temp/compressor/htmlarea_cumulative_63119521b2bad631bd95_compressed-169aa09a5878d75865b2adf15223c4d8.js.gzip
>>
>>
>> I think the code generated by the new compressor has errors. Does anyone
>> have the same problem?
>
> Could you please post the code around line 907?

tagName=(match[1]HTMLArea.TextStyle=HTMLArea.Plugin.extend({constructor:function(editor,pluginName){this.base(editor,pluginName);}

Character 490 is the H from HTMLArea.TextStyle.  I think that maybe a ; 
or a new line is missing after match[1]?  I'm sure you'll know better.

Best regards,

B.

P.S.:

906: 
if(cssRules[rule].cssRules){newCssArray=this.parseCssRule(cssRules[rule].cssRules,newCssArray);}}}
907: return 
newCssArray;},parseSelectorText:function(selectorText,cssArray){var 
cssElements=new Array();var cssElement=new Array();var 
tagName,className;var newCssArray=new 
Object();newCssArray=cssArray;if(selectorText.search(/:+/)==-1){cssElements=selectorText.split(",");for(var 
k=0;k<cssElements.length;k++){var 
s=cssElements[k],pattern=/(\S*)\.(\S+)/,index;while((index=s.search(pattern))>-1){var 
match=pattern.exec(s.substring(index));s=s.substring(index+match[0].length);tagName=(match[1]HTMLArea.TextStyle=HTMLArea.Plugin.extend({constructor:function(editor,pluginName){this.base(editor,pluginName);},configurePlugin:function(editor){this.cssLoaded=false;this.cssTimeout=null;this.cssParseCount=0;this.cssArray=new 
Object();this.classesUrl=this.editorConfiguration.classesUrl;this.pageTSconfiguration=this.editorConfiguration.buttons.textstyle;this.tags=this.pageTSconfiguration.tags;if(!this.tags){this.tags=new 
Object();}
908: 
if(typeof(this.editorConfiguration.classesTag)!=="undefined"){if(this.editorConfiguration.classesTag.span){if(!this.tags.span){this.tags.span=new 
Object();}


More information about the TYPO3-english mailing list