#1521 closed Bug (fixed)
"Replace" function doesn't work properly
| Reported by: | PavelZ | Owned by: | Martin Kou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.5 |
| Component: | General | Version: | FCKeditor 2.5 Beta |
| Keywords: | Confirmed | Cc: |
Description
Steps to reproduce:
in FCK do:
aaaaaaaa
<Enter>
aaaaaaaa
Do replacement: replace all "aa" with "xx" In FF the result is:
xxaaaaaa
aaaaaaaa
and JavaScript error occures.
In IE the result is:
xx
xx
but with no JavaScript error
Both are bad.
Tested in FCK demo (ver. 2.5 Beta Build 16848)
Change History (5)
comment:1 Changed 18 years ago by
| Keywords: | Replace removed |
|---|---|
| Priority: | High → Normal |
comment:2 Changed 18 years ago by
| Keywords: | Confirmed added |
|---|
comment:3 Changed 18 years ago by
| Owner: | set to Martin Kou |
|---|---|
| Status: | new → assigned |
comment:4 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed with [1078], [1079] and [1080].
Click here for more info about our SVN system.
comment:5 Changed 18 years ago by
By the way, the bug was caused by the changes in [969]. A regression test might be needed to be written for this in the FCKTest tree to make sure it works in the future in case there are more changes to the selection related code.

The bug is present in all the browsers, it seems that this will need a good review