Hello,
first of all: Sorry for my english, but i try my best!
I'm trying to add a Plugin, which generates and inserts some text, to the CKeditor and everything works fine, but I want to use my Plugin also when I select the Source Button. When I press the Source Button most of the Buttons are disabled and the insertText() function doesn't work anymore.
What i want to know:
1. Is there a pararameter or something to prevent that my Button is disabled, when I select the Source Button.
2. Is there already a function to insert Text when Source is selected, why isn't it possible with insertText() ?
3. Is there a possibility to find out weather the Source Button is selected or not?
Thanks for your help!
Thu, 09/08/2011 - 09:59
#1
Re: Enable Button and insertText() on Sourcecode
I solved the Problem with 1. you can add
Re: Enable Button and insertText() on Sourcecode
3: check editor.mode
Re: Enable Button and insertText() on Sourcecode
Thanks for your answer! I think my Code isn't really good, but it works!
I post it here, because maybe somebody can use it!
Re: Enable Button and insertText() on Sourcecode