Opened 17 years ago
Closed 17 years ago
#1530 closed Bug (fixed)
"Replace" and "Replace All" buttons are disabled
Reported by: | tba21cn | Owned by: | Martin Kou |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.6 |
Component: | UI : Toolbar | Version: | FCKeditor 2.5 Beta |
Keywords: | Confirmed Review+ | Cc: |
Description (last modified by )
- Copy some text from FCKeditor
- Click "replace", and use mouse right click-> select paste (not ctr+v), to paste those text to the "Find what:" text input area
Notice that the "Replace" and "Replace All" buttons are still disabled (they should be enabled when text is in the "Find what:" text filed.
I thappens on both IE7 and FFx.
Attachments (2)
Change History (11)
comment:1 Changed 17 years ago by
Keywords: | Confirmed added; replace removed |
---|
comment:3 Changed 17 years ago by
Owner: | set to Martin Kou |
---|---|
Status: | new → assigned |
comment:4 Changed 17 years ago by
This bug is not as easy as it seems. The onpaste event is available on IE, Safari, but not Firefox 2.x and Opera 9.50. onpaste is available in FF 3.0 beta but the Mozilla devs are still working on it Mozilla bug #280959.
Even DOMAttrModified doesn't seem to detect the mouse-pasted text. If all else fails we might need to use a polling loop to detect the new text.
comment:5 Changed 17 years ago by
I can't test it right now, but I think that you can use the onInput event for those browsers.
Changed 17 years ago by
Attachment: | 1530.patch added |
---|
comment:6 Changed 17 years ago by
Keywords: | Review? added |
---|
Thanks for the hint, now this can be done simply.
comment:7 Changed 17 years ago by
Milestone: | → FCKeditor 2.6 |
---|
Changed 17 years ago by
Attachment: | 1530_2.patch added |
---|
comment:8 Changed 17 years ago by
Keywords: | Review+ added; Review? removed |
---|
comment:9 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed with [1521].
Click here for more info about our SVN system.
Confirmed in IE, IE7 and FF2