I can solve adding content to the CKEditor content easily like so:
let editor = CKEDITOR.instances.text; let myText = C