Ticket #2376: 2376.patch
File 2376.patch, 1.8 KB (added by , 15 years ago) |
---|
-
_whatsnew.html
82 82 in the Paste dialog.</li> 83 83 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1907">#1907</a>] Fixed sporadic 84 84 "FCKeditorAPI is not defined" errors in Firefox 3.</li> 85 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2376">#2376</a>] FCK.InsertHtml() 86 will now insert to the last selected position after the user has selected things outside 87 of FCKeditor, in IE.</li> 85 88 </ul> 86 89 <p> 87 90 <a href="_whatsnew_history.html">See previous versions history</a></p> -
editor/_source/internals/fck_ie.js
136 136 137 137 this.EditorDocument.attachEvent("ondblclick", Doc_OnDblClick ) ; 138 138 139 this.EditorDocument.attachEvent("onbeforedeactivate", function(){ FCKSelection.Save( true ) ; } ) ; 140 139 141 // Catch cursor selection changes. 140 142 this.EditorDocument.attachEvent("onselectionchange", Doc_OnSelectionChange ) ; 141 143 -
editor/_source/internals/fckselection_ie.js
209 209 return FCK.EditorDocument.selection ; 210 210 } 211 211 212 FCKSelection.Save = function( )212 FCKSelection.Save = function( noFocus ) 213 213 { 214 214 // Ensures the editor has the selection focus. (#1801) 215 FCK.Focus() ; 215 if ( !noFocus ) 216 FCK.Focus() ; 216 217 217 218 var editorDocument = FCK.EditorDocument ; 218 219