[LON-CAPA-cvs] cvs: loncom /html/adm/fckeditor loncapaconfig.js

faziophi faziophi@source.lon-capa.org
Tue, 24 Nov 2009 00:54:36 -0000


faziophi		Tue Nov 24 00:54:36 2009 EDT

  Modified files:              
    /loncom/html/adm/fckeditor	loncapaconfig.js 
  Log:
  loncapaconfig.js
  
Index: loncom/html/adm/fckeditor/loncapaconfig.js
diff -u loncom/html/adm/fckeditor/loncapaconfig.js:1.1 loncom/html/adm/fckeditor/loncapaconfig.js:1.2
--- loncom/html/adm/fckeditor/loncapaconfig.js:1.1	Tue Oct  9 23:57:11 2007
+++ loncom/html/adm/fckeditor/loncapaconfig.js	Tue Nov 24 00:54:36 2009
@@ -6,7 +6,7 @@
 	['OrderedList','UnorderedList','-','Outdent','Indent'],
 	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
 	['Link','Unlink','Anchor'],
-	['Image','Table','Rule','Smiley','SpecialChar','PageBreak'],
+	['Image','Table','Rule','-', 'Smiley','SpecialChar','PageBreak'],
 	['TextColor','BGColor'],
 	['Style','FontFormat','FontName','FontSize'],
 	['FitWindow','-','About']
@@ -14,5 +14,10 @@
 FCKConfig.LinkUpload = false ;
 FCKConfig.FlashBrowser = false ;
 FCKConfig.FlashUpload = false ;
-FCKConfig.Plugins.Add('autogrow');
-FCKConfig.AutoGrowMax = 500;
+//FCKConfig.Plugins.Add('autogrow');
+//FCKConfig.AutoGrowMax = 500;
+FCKConfig.IgnoreEmptyParagraphValue = true;
+FCKConfig.FormatSource = false;
+FCKConfig.FormatOutput = true;
+FCKConfig.EnterMode = 'br' ; // p | div | br
+FCKConfig.ShiftEnterMode = 'p' ; // p | div | br