IE: Switching between two editors with shared toolbar does not work properly
When using two FCKeditor instances with a shared toolbar, it is not possible to directly switch from one instance to another. One has to click either outside the editors, then on the second instance, or twice on the second instance.
To recreate:
- Open sample10.html or sample11.html in IE
- Select the first instance of FCKeditor
- Select the second instance
When you select the second instance, the toolbar is deactivated, and the cursor remains in the first instance. You have to click twice on the second instance to properly activate it.
The fix of #2376 is the cause of the regression. In my view, it would be best to revert that change, since it makes the use of shared toolbar practically impossible.
Change History (7)
Owner: |
set to Martin Kou
|
Status: |
new →
assigned
|
Keywords: |
Confirmed IE added
|
Version: |
→ FCKeditor 2.6.3 Beta
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
It turns out this is not caused by an IE bug. The brief flickering which stopped you from switching between editor instances in a single click happened because FCKSelection.Restore() was called when you tried to focus into the other editor instance. But FCKSelection.Restore() brought the focus back to where you started because the saved selection was in the first editor instance.
What my patch does is that, as long as you've brought your focus to an editable area, FCKSelection.Restore() won't do anything.