Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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.