Upgraded to FCKeditor 2.5beta

SVN revision: 1968
This commit is contained in:
2007-11-27 13:52:23 +00:00
parent 7c26d4e44d
commit b6e49c2db8
3 changed files with 6 additions and 1 deletions
Binary file not shown.
+5 -1
View File
@@ -7,12 +7,16 @@ FCKConfig.Plugins.Add('elog', null);
FCKConfig.FirefoxSpellChecker = true ;
FCKConfig.Plugins.Add('dragresizetable');
FCKConfig.ProtectedSource.Add( /<script[\s\S]*?<\/script>/gi ) ; // <SCRIPT> tags
FCKConfig.ProtectedSource.Add( /<(.*?)javascript\:(.*?)/gi ) ; // javascript: tags
FCKConfig.ProtectedSource.Add( /<(.*?)(?:on(blur|c(hange|lick)|dblclick|focus|keypress|(key|mouse)(down|up)|(un)?load|mouse(move|o(ut|ver))|reset|s(elect|ubmit)))=(.*?)(\s*?)(.*?)>/gi ) ; // events
FCKToolbarItems.RegisterItem('SourceSimple', new FCKToolbarButton( 'Source', window.top.ELOGSource, null, FCK_TOOLBARITEM_ONLYICON, true, true, 1));
FCKConfig.ToolbarSets["Default"] = [
['Source','FitWindow','-','ELOGSubmit','Preview'],
['SourceSimple','FitWindow','ShowBlocks','-','ELOGSubmit','Preview'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
+1
View File
@@ -9576,6 +9576,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
rsprintf("var ELOGInsertDateTime = '%s';\n\n", loc("Insert Date/Time"));
rsprintf("var ELOGLinkTextPrompt = '%s';\n\n", loc("Enter name of hyperlink"));
rsprintf("var ELOGLinkURLPrompt = '%s';\n\n", loc("Enter URL of hyperlink"));
rsprintf("var ELOGSource = '%s';\n\n", loc("Show HTML source code"));
rsprintf("function initFCKedit()\n");
rsprintf("{\n");
rsprintf(" var oFCKeditor = new FCKeditor('Text', '100%%', '500');\n");