I needed to do a bit of hacking on the source recently on a live site (don't ask), but didn't want the users to have to suffer through the resulting tens of .js downloads, so made a small hack to allow simple switching for when it's necessary to get into source mode.
Simply change the first two lines of the FCKeditor.prototype._GetIFrameHTML function to this:
var file=/fck_debug/.test(top.location.search)?'.original':'';
var sLink = this.BasePath + 'editor/fckeditor'+file+'.html?InstanceName=' + this.InstanceName ;
Now, to turn on "source" mode, just add "?fck_debug" to the URL of the page.
For example, if the usual URL for your page admin is:
https://cmssite.com/admin/pages.php
change it to:
https://cmssite.com/admin/pages.php?fck_debug
and it will load the source version of FCK instead.
Thu, 09/22/2005 - 00:30
#1