List Info

Thread: Add some features to FCKEditor




Add some features to FCKEditor
user name
2006-10-11 19:03:10
Sorry if you have another list to send patches to.

I have customized FCKEditor to turn on several features like
spell 
checking, find/replace, insert image/flash etc.  Also turned
off features 
that do not work such as image browsing.  I have attached a
patch that 
corresponds to what I am using and what seems to work.

Mark

Index:
C:/workspaces/subclipse-trunk/pebble/web/FCKeditor/fckconfig
.js
============================================================
=======
---
C:/workspaces/subclipse-trunk/pebble/web/FCKeditor/fckconfig
.js	(revision 207)
+++
C:/workspaces/subclipse-trunk/pebble/web/FCKeditor/fckconfig
.js	(working copy)
 -99,11
+99,15 
 
 // start of Pebble specific toolbar sets
 FCKConfig.ToolbarSets["BlogEntry"] = [
+   
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellChec
k'],
+   
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveF
ormat'],
+    ['Link','Unlink'],
+    ['FitWindow','Source'],
+    '/',
     ['Bold','Italic','Underline','StrikeThrough'],
     ['OrderedList','UnorderedList','-','Outdent','Indent'],
    
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull']
,
-    ['Link','Unlink'],
-    ['FitWindow','Source']
+   
['Image','Flash','Table','Rule','SpecialChar','PageBreak']
 ] ;
 
 FCKConfig.ToolbarSets["StaticPage"] = [
 -142,10
+146,10 
 FCKConfig.DisableFFTableHandles = true ;
 
 FCKConfig.LinkDlgHideTarget		= false ;
-FCKConfig.LinkDlgHideAdvanced	= false ;
+FCKConfig.LinkDlgHideAdvanced	= true ;
 
 FCKConfig.ImageDlgHideLink		= false ;
-FCKConfig.ImageDlgHideAdvanced	= false ;
+FCKConfig.ImageDlgHideAdvanced	= true ;
 
 FCKConfig.FlashDlgHideAdvanced	= false ;
 
 -163,32
+167,32 
 // extension to use for the default File Browser (Perl uses
"cgi").
 var _FileBrowserExtension = _FileBrowserLanguage == 'perl'
? 'cgi' : _FileBrowserLanguage ;
 
-FCKConfig.LinkBrowser = true ;
+FCKConfig.LinkBrowser = false ;
 FCKConfig.LinkBrowserURL = FCKConfig.BasePath +
'filemanager/browser/default/browser.html?Connector=connecto
rs/' + _FileBrowserLanguage + '/connector.' +
_FileBrowserExtension ;
 FCKConfig.LinkBrowserWindowWidth	= FCKConfig.ScreenWidth *
0.7 ;		// 70%
 FCKConfig.LinkBrowserWindowHeight	= FCKConfig.ScreenHeight
* 0.7 ;	// 70%
 
-FCKConfig.ImageBrowser = true ;
+FCKConfig.ImageBrowser = false ;
 FCKConfig.ImageBrowserURL = FCKConfig.BasePath +
'filemanager/browser/default/browser.html?Type=Image&Con
nector=connectors/' + _FileBrowserLanguage + '/connector.' +
_FileBrowserExtension ;
 FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth
* 0.7 ;	// 70% ;
 FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight
* 0.7 ;	// 70% ;
 
-FCKConfig.FlashBrowser = true ;
+FCKConfig.FlashBrowser = false ;
 FCKConfig.FlashBrowserURL = FCKConfig.BasePath +
'filemanager/browser/default/browser.html?Type=Flash&Con
nector=connectors/' + _FileBrowserLanguage + '/connector.' +
_FileBrowserExtension ;
 FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth
* 0.7 ;	//70% ;
 FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight
* 0.7 ;	//70% ;
 
-FCKConfig.LinkUpload = true ;
+FCKConfig.LinkUpload = false ;
 FCKConfig.LinkUploadURL = FCKConfig.BasePath +
'filemanager/upload/' + _QuickUploadLanguage + '/upload.' +
_QuickUploadLanguage ;
 FCKConfig.LinkUploadAllowedExtensions	= "" ;			//
empty for all
 FCKConfig.LinkUploadDeniedExtensions	=
".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat
|exe|dll|reg|cgi)$" ;	// empty for no one
 
-FCKConfig.ImageUpload = true ;
+FCKConfig.ImageUpload = false ;
 FCKConfig.ImageUploadURL = FCKConfig.BasePath +
'filemanager/upload/' + _QuickUploadLanguage + '/upload.' +
_QuickUploadLanguage + '?Type=Image' ;
 FCKConfig.ImageUploadAllowedExtensions	=
".(jpg|gif|jpeg|png)$" ;		// empty for all
 FCKConfig.ImageUploadDeniedExtensions	= ""
;							// empty for no one
 
-FCKConfig.FlashUpload = true ;
+FCKConfig.FlashUpload = false ;
 FCKConfig.FlashUploadURL = FCKConfig.BasePath +
'filemanager/upload/' + _QuickUploadLanguage + '/upload.' +
_QuickUploadLanguage + '?Type=Flash' ;
 FCKConfig.FlashUploadAllowedExtensions	=
".(swf|fla)$" ;		// empty for all
 FCKConfig.FlashUploadDeniedExtensions	= ""
;					// empty for no
one---------------------------------------------------------
----------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&a
mp;kid=120709&bid=263057&dat=121642_________________
______________________________
Pebble-user mailing list
Pebble-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user

Add some features to FCKEditor
user name
2006-10-17 08:35:20
Thanks Mark.

On 10/11/06, Mark Phippard < markpsoftlanding.com">markpsoftlanding.com> wrote:
Sorry if you have another list to send patches to.

I have customized FCKEditor to turn on several features like spell
checking, find/replace, insert image/flash etc.  Also turned off features
that do not work such as image browsing.&nbsp; I have attached a patch that
corresponds to what I am using and what seems to work.

Mark



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&;kid=120709&bid=263057&dat=121642

_______________________________________________
Pebble-user mailing list
Pebble-userlists.sourceforge.net">Pebble-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user




[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )