Hello!
I'm looking for a way to insert code when I press a button outside the editor.
I have my CKeditor code working and I want make a button to insert an image, I was thinking on writing something like this:
<input name="" type="button" onclick="insertIntoEditorThisCode('<img src=mipic.jpg>');">
Is there any function to do it?
Thank you!
I'm looking for a way to insert code when I press a button outside the editor.
I have my CKeditor code working and I want make a button to insert an image, I was thinking on writing something like this:
<input name="" type="button" onclick="insertIntoEditorThisCode('<img src=mipic.jpg>');">
Is there any function to do it?
Thank you!