Greetings,
First of all, I used the Search bar to look for what i'm about to ask, I didn't get any answers. My apologies if I missed something in the docs / forums.
I've been using CKEditor for 6 months now, and I still don't know if what I want is possible.
Long story short: I have an instance where I use plugins to insert plain HTML (using insertHtml). This isn't a problem because it's HTML.
However, before using CKEditor, I was using JS buttons to insert content from a PHP script inside my textarea. Now, I understand this is not possible from a plugin. I was wondering if it was possible to alter my PHP script (which used window.opener.form.textarea.value) to use something like window.form.ckeditor.editorid.insertHtml.
So far my investigations and tests didn't get me anywhere.
Hope someone has an answer.
Cheers and thank you for taking the time.
First of all, I used the Search bar to look for what i'm about to ask, I didn't get any answers. My apologies if I missed something in the docs / forums.
I've been using CKEditor for 6 months now, and I still don't know if what I want is possible.
Long story short: I have an instance where I use plugins to insert plain HTML (using insertHtml). This isn't a problem because it's HTML.
However, before using CKEditor, I was using JS buttons to insert content from a PHP script inside my textarea. Now, I understand this is not possible from a plugin. I was wondering if it was possible to alter my PHP script (which used window.opener.form.textarea.value) to use something like window.form.ckeditor.editorid.insertHtml.
So far my investigations and tests didn't get me anywhere.
Hope someone has an answer.
Cheers and thank you for taking the time.

Re: insertHtml from a pop-up
Re: insertHtml from a pop-up
onClick="javascript: CKEDITOR.instances.instancename.insertHtml('html to insert');"here
window.opener.CKEDITOR.instances.instancename.inserHtml('hyml to inser');