Changeset 411
- Timestamp:
- 2007-07-06 06:57:34 (17 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 8 modified
-
editor/dialog/fck_replace.html (modified) (1 diff)
-
editor/_source/classes/fcktoolbarfontformatcombo.js (modified) (1 diff)
-
editor/_source/classes/fcktoolbarstylecombo.js (modified) (1 diff)
-
editor/_source/internals/fck.js (modified) (1 diff)
-
editor/_source/internals/fcktools_gecko.js (modified) (1 diff)
-
editor/_source/internals/fcktools_ie.js (modified) (1 diff)
-
editor/_source/internals/fcktools.js (modified) (1 diff)
-
fckconfig.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/dialog/fck_replace.html
r410 r411 294 294 range.MoveToBookmark2( matchBookmark ) ; 295 295 range.Select() ; 296 var focus = range._Range.endContainer ; 297 while ( focus && focus.nodeType != 1 ) 298 focus = focus.parentNode ; 299 if ( focus ) 300 focus.scrollIntoView( false ) ; 296 301 return true; 297 302 } -
FCKeditor/trunk/editor/_source/classes/fcktoolbarfontformatcombo.js
r132 r411 50 50 // Add the Editor Area CSS to the panel to create a realistic preview. 51 51 FCKTools.AppendStyleSheet( oTargetDoc, FCKConfig.ToolbarComboPreviewCSS ) ; 52 FCKTools.AppendStyleString( oTargetDoc, FCKConfig.EditorAreaStyles ) ; 52 53 53 54 // Add ID and Class to the body -
FCKeditor/trunk/editor/_source/classes/fcktoolbarstylecombo.js
r132 r411 46 46 // Add the Editor Area CSS to the panel so the style classes are previewed correctly. 47 47 FCKTools.AppendStyleSheet( oTargetDoc, FCKConfig.ToolbarComboPreviewCSS ) ; 48 FCKTools.AppendStyleString( oTargetDoc, FCKConfig.EditorAreaStyles ) ; 48 49 oTargetDoc.body.className += ' ForceBaseFont' ; 49 50 -
FCKeditor/trunk/editor/_source/internals/fck.js
r403 r411 743 743 var sTags = '' ; 744 744 var aCSSs = FCKConfig.EditorAreaCSS ; 745 var sStyles = FCKConfig.EditorAreaStyles ; 745 746 746 747 for ( var i = 0 ; i < aCSSs.length ; i++ ) 747 748 sTags += '<link href="' + aCSSs[i] + '" rel="stylesheet" type="text/css" />' ; 749 750 if ( sStyles && sStyles.length > 0 ) 751 sTags += "<style>" + sStyles + "</style>" ; 748 752 749 753 return sTags ; -
FCKeditor/trunk/editor/_source/internals/fcktools_gecko.js
r132 r411 45 45 documentElement.getElementsByTagName("HEAD")[0].appendChild( e ) ; 46 46 return e ; 47 } 48 49 // Appends a CSS style string to a document. 50 FCKTools._AppendStyleString = function( documentElement, cssStyles ) 51 { 52 var e = documentElement.createElement( "STYLE" ) ; 53 e.innerHTML = cssStyles ; 54 documentElement.getElementsByTagName( "HEAD" )[0].appendChild( e ) ; 47 55 } 48 56 -
FCKeditor/trunk/editor/_source/internals/fcktools_ie.js
r132 r411 31 31 { 32 32 return documentElement.createStyleSheet( cssFileUrl ).owningElement ; 33 } 34 35 // Appends a CSS style string to a document. 36 FCKTools._AppendStyleSheet = function( documentElement, cssStyles ) 37 { 38 var s = documentElement.createStyleSheet( "" ) ; 39 s.cssText = cssStyles ; 33 40 } 34 41 -
FCKeditor/trunk/editor/_source/internals/fcktools.js
r308 r411 50 50 return aStyleSheeArray ; 51 51 } 52 } 53 54 FCKTools.AppendStyleString = function ( documentElement, cssStyles ) 55 { 56 this._AppendStyleString( documentElement, cssStyles ) ; 52 57 } 53 58 -
FCKeditor/trunk/fckconfig.js
r410 r411 31 31 32 32 FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; 33 FCKConfig.EditorAreaStyles = '' ; 33 34 FCKConfig.ToolbarComboPreviewCSS = '' ; 34 35 … … 39 40 FCKConfig.FullPage = false ; 40 41 41 FCKConfig.Debug = true ;42 FCKConfig.Debug = false ; 42 43 FCKConfig.AllowQueryStringDebug = true ; 43 44