Hello Everybody, I'm trying yo add text to the editor using some buttons,
So actualy I've done this :
The fact is that I've put this code on my buttons: (thus buttons are links designed by css,
So it looks like this :
<a href="javascript:CKEDITOR.editor1.insertText( ' [CADRCOM2]' );" style="color:green;" title="Adresse Client 2e ligne">[CADRCOM]</a>
But nothing works.
to editor is good displaying but it doesn't work while adding text.
Anyone can help me please?
Kind regards
Re: Adding text to editor
Use an 'onclick' to see what happens.
Another hint is that you can use debug mode to trace the javascript to see which step went wrong.