i think you can simply execute the input command
editor.execute('InsertText','text to insert')
here is the documentation of the command ckEditor Docs