#2125: The #1990 bug is back again.
---------------------------+------------------------------------------------
Reporter: MarkWB | Owner: martinkou
Type: Bug | Status: assigned
Priority: Normal | Milestone: FCKeditor 2.6.1
Component: UI : Dialogs | Version: SVN
Resolution: | Keywords: Confirmed IE
---------------------------+------------------------------------------------
Comment (by martinkou):
You're right in your guess - InsertHtml doesn't because Restore() thinks
the current selection is already inside the editor window and so it didn't
bother. Moving SaveUndoStep() before the focus() call solves the problem
because SaveUndoStep() calls FCKSelection.Restore() - but that's a hack
which might break in the future if we have changed SaveUndoStep().
I guess a better solution would be calling FCKSelection.Restore() before
focus(). The focus() call is still needed in case the user selected
something outside of the editor without opening a dialog.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2125#comment:2>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac