Changeset 895
- Timestamp:
- 2007-09-27 11:37:35 (14 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
editor/_source/commandclasses/fcktextcolorcommand.js (modified) (1 diff)
-
fckconfig.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/commandclasses/fcktextcolorcommand.js
r885 r895 161 161 162 162 // Create the Row and the Cell for the "More Colors..." button. 163 oCell = oTable.insertRow(-1).insertCell(-1) ; 164 oCell.colSpan = 8 ; 163 if ( FCKConfig.EnableMoreFontColors ) 164 { 165 oCell = oTable.insertRow(-1).insertCell(-1) ; 166 oCell.colSpan = 8 ; 165 167 166 oDiv = oCell.appendChild( CreateSelectionDiv() ) ;167 oDiv.innerHTML = '<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap align="center">' + FCKLang.ColorMoreColors + '</td></tr></table>' ;168 oDiv = oCell.appendChild( CreateSelectionDiv() ) ; 169 oDiv.innerHTML = '<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap align="center">' + FCKLang.ColorMoreColors + '</td></tr></table>' ; 168 170 169 FCKTools.AddEventListenerEx( oDiv, 'click', FCKTextColorCommand_MoreOnClick, this ) ; 171 FCKTools.AddEventListenerEx( oDiv, 'click', FCKTextColorCommand_MoreOnClick, this ) ; 172 } 170 173 171 174 if ( FCKBrowserInfo.IsSafari ) -
FCKeditor/trunk/fckconfig.js
r850 r895 151 151 FCKConfig.BrowserContextMenuOnCtrl = false ; 152 152 153 FCKConfig.EnableMoreFontColors = true ; 153 154 FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ; 154 155