Changeset 834
- Timestamp:
- 2007-09-17 08:11:54 (3 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 1 added
- 7 modified
-
editor/fckeditor.html (modified) (1 diff)
-
editor/_source/classes/fckdomrange.js (modified) (1 diff)
-
editor/_source/commandclasses/fckindentcommands.js (added)
-
editor/_source/commandclasses/fckjustifycommands.js (modified) (1 diff)
-
editor/_source/internals/fckcommands.js (modified) (1 diff)
-
editor/_source/internals/fck.js (modified) (1 diff)
-
fckconfig.js (modified) (1 diff)
-
fckpackager.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/fckeditor.html
r822 r834 119 119 LoadScript( '_source/commandclasses/fcklistcommands.js' ) ; 120 120 LoadScript( '_source/commandclasses/fckjustifycommands.js' ) ; 121 LoadScript( '_source/commandclasses/fckindentcommands.js' ) ; 121 122 LoadScript( '_source/commandclasses/fckcorestylecommand.js' ) ; 122 123 LoadScript( '_source/commandclasses/fckremoveformatcommand.js' ) ; -
FCKeditor/trunk/editor/_source/classes/fckdomrange.js
r824 r834 664 664 665 665 // In Gecko, the last child node must be a bogus <br>. 666 if ( FCKBrowserInfo.IsGecko ) 666 // Note: bogus <br> added under <ul> or <ol> would cause lists to be incorrectly rendered. 667 if ( FCKBrowserInfo.IsGecko && 668 ! eStartBlock.nodeName.IEquals( ['ul', 'ol'] ) ) 667 669 FCKTools.AppendBogusBr( eStartBlock ) ; 668 670 } -
FCKeditor/trunk/editor/_source/commandclasses/fckjustifycommands.js
r833 r834 83 83 Execute : function() 84 84 { 85 // Save an undo snapshot before doing anything. 86 FCKUndo.SaveUndoStep() ; 87 85 88 var range = new FCKDomRange( FCK.EditorWindow ) ; 86 89 range.MoveToSelection() ; -
FCKeditor/trunk/editor/_source/internals/fckcommands.js
r804 r834 93 93 case 'JustifyRight' : oCommand = new FCKJustifyCommand( 'right' ) ; break ; 94 94 case 'JustifyFull' : oCommand = new FCKJustifyCommand( 'justify' ) ; break ; 95 case 'Indent' : oCommand = new FCKIndentCommand( 'indent', FCKConfig.IndentLength ) ; break ; 96 case 'Outdent' : oCommand = new FCKIndentCommand( 'outdent', FCKConfig.IndentLength * -1 ) ; break ; 95 97 96 98 case 'TableInsertRowAfter' : oCommand = new FCKTableCommand('TableInsertRowAfter') ; break ; -
FCKeditor/trunk/editor/_source/internals/fck.js
r774 r834 854 854 return ; 855 855 856 if ( FCKConfig.Debug ) 857 FCKDebug._GetWindow() ; 858 856 859 FCK.SetStatus( FCK_STATUS_ACTIVE ) ; 857 860 } -
FCKeditor/trunk/fckconfig.js
r829 r834 61 61 62 62 // The distance of an indentation step, in pixels. 63 FCKConfig.IndentLength = 25;63 FCKConfig.IndentLength = 40 ; 64 64 65 65 FCKConfig.ProcessHTMLEntities = true ; -
FCKeditor/trunk/fckpackager.xml
r822 r834 129 129 <File path="editor/_source/commandclasses/fcklistcommands.js" /> 130 130 <File path="editor/_source/commandclasses/fckjustifycommands.js" /> 131 <File path="editor/_source/commandclasses/fckindentcommands.js" /> 131 132 <File path="editor/_source/commandclasses/fckcorestylecommand.js" /> 132 133 <File path="editor/_source/commandclasses/fckremoveformatcommand.js" /> … … 222 223 <File path="editor/_source/commandclasses/fcklistcommands.js" /> 223 224 <File path="editor/_source/commandclasses/fckjustifycommands.js" /> 225 <File path="editor/_source/commandclasses/fckindentcommands.js" /> 224 226 <File path="editor/_source/commandclasses/fckcorestylecommand.js" /> 225 227 <File path="editor/_source/commandclasses/fckremoveformatcommand.js" />