WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to do a Search and Replace for the editor in HTML-mode?
Plugins I found are for the visual editor, we are working only in HTML-mode, therefore -not- appropriate for what we do.
I would appreciate to find a code snippet or plugin for HTML-mode (did I miss the one you found?)

Thanks in advance for time and effort.

share|improve this question

Why don't you add a custom button with the functionality you require? You could attach a JavaScript method to do the search and replace as requested?

Check out:

How to add a custom button to the tinyMCE toolbar?

Hope this helps...

share|improve this answer
    
To create a btn is not such a problem(imho). Would appreciate to have the right function/code snippet. Anyone? – Charles Jun 7 '12 at 6:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.