Hi,
I was wondering if there is any way to use the toolbar tools on the ckeditor through the code. For example, I want to display html through the editor that contains blank lines. I want my user to be able to search for the blank lines and then replace them with words of their choosing. I want the code to be able to find the blank lines and I also want it to be able to let the user know, on close, if there are any blanks left unfilled-in.
I know the user can use the search button but I don't want them to have to know they need to search for a blank line. I just want it to happen automatically, highlighting the blank lines.
Thanks for any help on this!
Becky
I was wondering if there is any way to use the toolbar tools on the ckeditor through the code. For example, I want to display html through the editor that contains blank lines. I want my user to be able to search for the blank lines and then replace them with words of their choosing. I want the code to be able to find the blank lines and I also want it to be able to let the user know, on close, if there are any blanks left unfilled-in.
I know the user can use the search button but I don't want them to have to know they need to search for a blank line. I just want it to happen automatically, highlighting the blank lines.
Thanks for any help on this!
Becky
Re: use ckeditor tools dynamically
Hi, you may execute any editor command at will:
http://docs.cksource.com/ckeditor_api/s ... xecCommand
On the other hands, I'm afraid it's not a good option to reuse the find/replace dialog for your specific use-case, where I suggest you to deliver it as a separate plugin, FYI, you could try to grab all "blank line" in the editor by using the domWalker class.