RCS file: /usr/local/cvsroot/ej/distbase/www/javascript/fckeditor/editor/_source/internals/fck.js,v
retrieving revision 1.9
diff -u -r1.9 fck.js
|
|
|
|
| 1 | | /* |
| | 1 | /* |
| 2 | 2 | * FCKeditor - The text editor for Internet - http://www.fckeditor.net |
| 3 | 3 | * Copyright (C) 2003-2009 Frederico Caldeira Knabben |
| 4 | 4 | * |
| … |
… |
|
| 114 | 114 | this.EditingArea = new FCKEditingArea( document.getElementById( 'xEditingArea' ) ) ; |
| 115 | 115 | this.EditingArea.FFSpellChecker = FCKConfig.FirefoxSpellChecker ; |
| 116 | 116 | |
| | 117 | FCK.EditMode = FCKConfig.StartupMode ; |
| | 118 | |
| 117 | 119 | // Set the editor's startup contents. |
| 118 | 120 | this.SetData( this.GetLinkedFieldValue(), true ) ; |
| 119 | 121 | |
| … |
… |
|
| 329 | 331 | |
| 330 | 332 | OnAfterSetHTML : function() |
| 331 | 333 | { |
| 332 | | FCKDocumentProcessor.Process( FCK.EditorDocument ) ; |
| 333 | | FCKUndo.SaveUndoStep() ; |
| | 334 | if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ) |
| | 335 | { |
| | 336 | FCKDocumentProcessor.Process( FCK.EditorDocument ) ; |
| | 337 | FCKUndo.SaveUndoStep() ; |
| | 338 | } |
| | 339 | |
| | 340 | // Check if it is not a startup call, otherwise complete the startup. |
| | 341 | if ( FCK.Status == FCK_STATUS_NOTLOADED ) |
| | 342 | FCK.SetStatus( FCK_STATUS_ACTIVE ); |
| 334 | 343 | |
| 335 | 344 | FCK.Events.FireEvent( 'OnSelectionChange' ) ; |
| 336 | 345 | FCK.Events.FireEvent( 'OnAfterSetHTML' ) ; |
| … |
… |
|
| 491 | 500 | |
| 492 | 501 | this.EditingArea.Textarea.focus() ; |
| 493 | 502 | |
| 494 | | FCK.Events.FireEvent( 'OnAfterSetHTML' ) ; |
| | 503 | //FCK.Events.FireEvent( 'OnAfterSetHTML' ) ; |
| | 504 | FCK.OnAfterSetHTML() ; |
| 495 | 505 | } |
| 496 | 506 | |
| 497 | 507 | if ( FCKBrowserInfo.IsGecko ) |
RCS file: /usr/local/cvsroot/ej/distbase/www/javascript/fckeditor/editor/_source/internals/fck_gecko.js,v
retrieving revision 1.8
diff -u -r1.8 fck_gecko.js
|
|
|
|
| 1 | | /* |
| | 1 | /* |
| 2 | 2 | * FCKeditor - The text editor for Internet - http://www.fckeditor.net |
| 3 | 3 | * Copyright (C) 2003-2009 Frederico Caldeira Knabben |
| 4 | 4 | * |
| … |
… |
|
| 488 | 488 | |
| 489 | 489 | FCK._ExecCheckEmptyBlock = function() |
| 490 | 490 | { |
| | 491 | if (FCK.EditMode != FCK_EDITMODE_WYSIWYG) |
| | 492 | return; |
| | 493 | |
| 491 | 494 | FCK._FillEmptyBlock( FCK.EditorDocument.body.firstChild ) ; |
| 492 | 495 | var sel = FCKSelection.GetSelection() ; |
| 493 | 496 | if ( !sel || sel.rangeCount < 1 ) |
RCS file: /usr/local/cvsroot/ej/distbase/www/javascript/fckeditor/fckconfig.js,v
retrieving revision 1.10
diff -u -r1.10 fckconfig.js
|
|
|
|
| 1 | | /* |
| | 1 | /* |
| 2 | 2 | * FCKeditor - The text editor for Internet - http://www.fckeditor.net |
| 3 | 3 | * Copyright (C) 2003-2009 Frederico Caldeira Knabben |
| 4 | 4 | * |
| … |
… |
|
| 79 | 79 | FCKConfig.EMailProtection = 'none' ; // none | encode | function |
| 80 | 80 | FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ; |
| 81 | 81 | |
| | 82 | FCKConfig.StartupMode = FCK_EDITMODE_SOURCE; |
| 82 | 83 | FCKConfig.StartupFocus = false ; |
| 83 | 84 | FCKConfig.ForcePasteAsPlainText = false ; |
| 84 | 85 | FCKConfig.AutoDetectPasteFromWord = true ; // IE only. |