Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-05-26 15:55:16

mairavykus
New member
Registered: 2006-05-21
Posts: 2

Activate FindReplace in Textmode

Hi.

I need to make the FindReplace plugin work in textmode. I've modified the button config to this:

cfg.registerButton("FR-findreplace", this._lc("Find and Replace"),
                   editor.imgURL("ed_find.gif", "FindReplace"), true,
                   function(editor) { self.buttonPress(editor); });
cfg.addToolbarElement(["FR-findreplace","separator"], ["formatblock","fontsize","fontname"], -1);
}

With this code the button is enable in textmode, but when i click, it does nothing.
Does anyone know where do i have to modify the js to make it work. I need to change a lot of code and I don't want to copy it to another program to do it.

(Sorry for my english sad )

Sinceresly Thanks.

Offline

#2 2006-12-04 15:38:34

caugb
Xinha Community Member
Registered: 2006-12-04
Posts: 15

Re: Activate FindReplace in Textmode

Sorry, but this plugin was developed to work only in html mode. It uses HTML tags to highlight the search terms.

Last edited by caugb (2007-01-24 12:18:32)

Offline

Board footer

Powered by FluxBB