The forum operates in read-only mode. Please head to StackOverflow for support.
<a href="javascript:CKEDITOR.editor1.insertText( ' [CADRCOM2]' );" style="color:green;" title="Adresse Client 2e ligne">[CADRCOM]</a>
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.