Changeset 502
- Timestamp:
- 07/23/07 12:41:05 (6 years ago)
- Location:
- FCKeditor/trunk/editor/_source/internals
- Files:
-
- 2 edited
-
fck_gecko.js (modified) (2 diffs)
-
fck_ie.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fck_gecko.js
r480 r502 181 181 html = html.replace( FCKRegexLib.EmOpener, '<i$1' ) ; 182 182 html = html.replace( FCKRegexLib.EmCloser, '<\/i>' ) ; 183 184 // Save an undo snapshot first. 185 FCKUndo.SaveUndoStep() ; 183 186 184 187 // Delete the actual selection. … … 202 205 203 206 this.Focus() ; 207 208 // For some strange reason the SaveUndoStep() call doesn't activate the undo button at the first InsertHtml() call. 209 this.Events.FireEvent( "OnSelectionChange" ) ; 204 210 } 205 211 -
FCKeditor/trunk/editor/_source/internals/fck_ie.js
r480 r502 153 153 154 154 FCKDocumentProcessor.Process( FCK.EditorDocument ) ; 155 156 // For some strange reason the SaveUndoStep() call doesn't activate the undo button at the first InsertHtml() call. 157 this.Events.FireEvent( "OnSelectionChange" ) ; 155 158 } 156 159
Note: See TracChangeset
for help on using the changeset viewer.
