Is there a way to do a find and replace in the source html?
My needs are simple, a button on the page or toolbar is preferable to a dialog as I have specifc places in my file I want the users to be able to insert specific code/text to.
The included Find and Replace only searches the text not the source.
Thanks
My needs are simple, a button on the page or toolbar is preferable to a dialog as I have specifc places in my file I want the users to be able to insert specific code/text to.
The included Find and Replace only searches the text not the source.
Thanks
RE: Find and Replace in Source
Don't laugh, but I have an idea.
You could put an instance of the editor in a pop-up window that get's popped by a custom plugin. Have only the find and replace in the popup instance's toolbar. Encode and then decode the text between them (using JS built in html encoding/decoding).
Sloppy and not very elegant, but it might theoretically work. And it's "easy".
The other option is to make your own plugin (I think at least find, and maybe find and replace, are even in the sample plugins folder) that does it with a textarea or some such similar to the Source window.
Or you could travel deep in the source and tweak the find and replace to check the source as well as the rendered source.
I've run into this a couple of times myself, so maybe I'll make the second option come to fruition someday.
What I'd like to see is a way to get outside of say a <div> or <p> tag in firefox when you left or right arrow all the way, ya know? Any ideas?
HTH and GL