Opened 16 years ago

Closed 16 years ago

#2502 closed New Feature (duplicate)

Allow Find and Replace in source mode

Reported by: Devon Weller Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: FCKeditor 2.6.3
Keywords: Cc:

Description

When I allow Find/Replace toolbar button in source mode, I get a javascript error when trying to find text in source mode.

The code to enable the Find button that I am using is this:

FCKToolbarItems.RegisterItem('Find', new FCKToolbarButton('Find', FCKLang.Find, null, null, true, null, 16));

When I enter source mode, then click the find icon, type in text in the dialog and click the Find button, I get a javascript error. This happens in both IE 7 and Firefox 3.0.1.

IE 7 reports this error:

Line: 68 Error: 'nodeType' is null or not an object

The problem appears to be that the fck_replace.html dialog is trying to search the content of oEditor.FCK.EditorDocument. While in source mode, this object is null.

Change History (1)

comment:1 Changed 16 years ago by Alfonso Martínez de Lizarrondo

Resolution: duplicate
Status: newclosed
Type: TaskNew Feature

dup of #158

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy