Opened 16 years ago
Closed 13 years ago
#3066 closed Bug (invalid)
bug in find replace plugin on releace 2.6.4
Reported by: | Avi | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.6.4 |
Keywords: | Cc: |
Description
bug in find replace plugin on releace 2.6.4 ==============================================
when try to find or replace text, when I press the find button to find the next occurrence of the word, there is a javascript error.
The bug happens on Highlight function in fck_replace.html I trucked the code and the source of the error is in : fckdomrange.js on function _UpdateElementInfo line 47 :
this.StartNode = eStart.nodeType == 3 ? eStart : eStart.childNodes[ innerRange.startOffset ] ;
eStart.childNodes[ innerRange.startOffset ] is undefined
Note - it's not happening in all sorts of texts in the editor
In order to reproduce the bug, please follow the following steps
- Please insert the following html code into the fck editor
====================== <p><font face="arial" size="2">Avi<br /> Avi <br /> Avi</font></p> <p> </p> ======================
- go to design mode
- press the find (or replace) button
- search the word 'avi'
- press the search button 3 times
You get the following error : Line 266 'StartNode.nodeType' is null or not an object
Please try to fix it, as soon as you can. I will appreciate it if you will update me in email
Avi@…
Thanks, Avi
Attachments (2)
Change History (5)
Changed 16 years ago by
Attachment: | FckFindError.JPG added |
---|
comment:1 Changed 16 years ago by
Component: | Project : MediaWiki+FCKeditor → General |
---|---|
Keywords: | find replace bug removed |
Priority: | High → Normal |
comment:3 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible since this issue is no longer a problem in current code base.
fck find replace error screenshot