This explains what changes were made to the default FCKeditor for Squirrelcart:

1. To remove "Font" before the font select input, "Size" and "Format", etc...

	In /editor/lang/en.js, change lines 88-90 from this:
	
		FontFormat			: "Format",
		Font				: "Font",
		FontSize			: "Size",
	
	to this:
	
		FontFormat			: " ",
		Font				: "",
		FontSize			: " ",
	


2. To add a default value for those select inputs as labels:

	In /fckconfig.js, these were set:
	
		FCKConfig.DefaultFontFormatLabel = 'Format' ;
		FCKConfig.DefaultFontLabel = 'Font' ;
		FCKConfig.DefaultFontSizeLabel = 'Size' ;


3. A custom skin was added as /editor/skins/squirrelcart

To tell FCKEditor about this, change the code at line #45 in /fckconfig.js:

	//FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
	FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/squirrelcart/' ;

	
3.1. Uncomment line #58 in /fckconfig.js:

FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
 
	
	
	
4. The default toolbar config in /fckonfig.js was renamed to OLD, and a new one was created:

	FCKConfig.ToolbarSets["Default"] = [
		['Cut','Copy','Paste','PasteText','-','Print','SpellCheck'],
		['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
		['Image','Table','Rule','SpecialChar'],
		'/',
		['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
		['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
		['JustifyLeft','JustifyCenter','JustifyRight'],
		['Link','Unlink','Anchor'],
		'/',
		['FontName','FontSize','FontFormat'],
		['TextColor','BGColor'],
		['FitWindow','Source']		// No comma for the last row.
	] ;
 	

5. In /fckonfig.js (various lines...search for them if needed):

	FCKConfig.LinkBrowserURL = '../../../../image_select.php?ckeditor=1' ;
	FCKConfig.ImageBrowserURL = '../../../../image_select.php?ckeditor=1' ;
	FCKConfig.FlashBrowser = false ;
	FCKConfig.LinkUpload = false ;
	FCKConfig.ImageUpload = false ;
	FCKConfig.FlashUpload = false ;
	

6. Added this code to the very bottom of /fckonfig.js to fix problem where a single line of text was wrapped with a <p> tag:


	// All code below is from fix posted by user "Magoo" here:
	// http://www.fckeditor.net/forums/viewtopic.php?f=5&t=7955&p=33103#p33103
	// it prevents single line entries from being wrapped in "<p>" tags.
	FCKConfig.EnterMode = 'br';
	FCKConfig.ShiftEnterMode = 'br';
	
	var proto = FCKEnterKey.prototype;
	
	FCKEnterKey = function( targetWindow, enterMode, shiftEnterMode, tabSpaces )
	{
	   this.Window         = targetWindow ;
	   this.EnterMode      = 'p' ;
	   this.ShiftEnterMode   = 'br' ;
	
	   // Setup the Keystroke Handler.
	   var oKeystrokeHandler = new FCKKeystrokeHandler( false ) ;
	   oKeystrokeHandler._EnterKey = this ;
	   oKeystrokeHandler.OnKeystroke = FCKEnterKey_OnKeystroke ;
	
	   oKeystrokeHandler.SetKeystrokes( [
	      [ 13      , 'Enter' ],
	      [ SHIFT + 13, 'ShiftEnter' ],
	      [ 8         , 'Backspace' ],
	      [ CTRL + 8   , 'CtrlBackspace' ],
	      [ 46      , 'Delete' ]
	   ] ) ;
	
	   this.TabText = '' ;
	
	   // Safari by default inserts 4 spaces on TAB, while others make the editor
	   // loose focus. So, we need to handle it here to not include those spaces.
	   if ( tabSpaces > 0 || FCKBrowserInfo.IsSafari )
	   {
	      while ( tabSpaces-- )
	         this.TabText += '\xa0' ;
	
	      oKeystrokeHandler.SetKeystrokes( [ 9, 'Tab' ] );
	   }
	
	   oKeystrokeHandler.AttachToElement( targetWindow.document ) ;
	}
	
	FCKEnterKey.prototype = proto;


7. With the FCKConfig.EnterMode set to 'br', Firefox still had a "<br/>" tag added at the end of single lines. 
It was even added to a blank editor. IE does not do this. To fix it....





/************************************************************************************************************************
	Changes below are to add a rel attribute field in the link (anchor) dialog
	which can be used for lightbox
	
	changes contributed by coastalrugs in forums: http://www.ldev.com/forums/showthread.php?t=5674
************************************************************************************************************************/

1. sc/lib/fckeditor/editor/dialog/fck_link/fck_link.js

	Around line #478, find this:
	
		GetE('txtAttCharSet').value		= oLink.charset ;
	
	After that line, add this:
	
		// added custom for Squirrelcart, to add a rel attribute for lightbox
		GetE('txtAttRel').value			= oLink.rel ;
	


	Around line #727, find this:
	
		SetAttribute( oLink, '_fcksavedurl', sUri ) ;

	Right after that line, add this:
	
			// added custom for Squirrelcart to add a rel attribute for lightbox
			SetAttribute( oLink, 'rel'	, GetE('txtAttRel').value ) ;
			
			
2. sc/linb/fckeditor/editor/dialog/fck_link.html

	Around line #286, find this code block:
	
			<tr>
				<td>
					<span fckLang="DlgGenStyle">Style</span><br />
					<input id="txtAttStyle" style="WIDTH: 100%" type="text" />
				</td>
			</tr>
	 


	Right after that, add this:
	
			<!--  added custom for Squirrelcart to add a rel attribute for lightbox -->
			<tr>
				<td>
					<span fckLang="DlgGenRel">Rel</span><br />
					<input id="txtAttRel" style="WIDTH: 100%" type="text" />
				</td>
			</tr>
		

		