Changeset 805
- Timestamp:
- 09/13/07 05:15:05 (6 years ago)
- Location:
- FCKeditor/trunk/editor/_source
- Files:
-
- 2 edited
-
commandclasses/fckjustifycommands.js (modified) (2 diffs)
-
internals/fcklistslib.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/commandclasses/fckjustifycommands.js
r804 r805 34 34 var range = new FCKDomRange( FCK.EditorWindow ) ; 35 35 range.MoveToSelection() ; 36 var bookmark = range.CreateBookmark() ; 36 37 range.Expand( 'block_contents' ) ; 37 38 if ( range.StartContainer == range.Window.document.body ) … … 44 45 range.StartContainer.style.textAlign = '' ; 45 46 47 range.MoveToBookmark( bookmark ) ; 48 range.Select() ; 46 49 FCK.Events.FireEvent( 'OnSelectionChange' ) ; 47 50 }, -
FCKeditor/trunk/editor/_source/internals/fcklistslib.js
r799 r805 56 56 57 57 // Elements used to separate block contents. 58 BlockBoundaries : { p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1 },59 ListBoundaries : { p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,br:1 },58 BlockBoundaries : { p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1 }, 59 ListBoundaries : { p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,br:1,body:1 }, 60 60 61 61 // Final setup of FCKListsLib once the editor is loaded (at FCK.StartEditor).
Note: See TracChangeset
for help on using the changeset viewer.
