With a large project that revolves around extensive Rich Text, we needed Javascript access to the Redactor control that Knack uses for rich text fields. After lots of research and hacking attempts this might be a starting point for others.
To gain access to the core redactor object
var redactor = $('field_XX').redactor('core.getObject')
In testing using any other selector than the field resulted in the control being duplicated.
Examples
redactor.insert.html(htmlstring) //Inserts html at the selection
redactor.focus.setEnd()
redactor.selection.save()
redactor.selection.restore() //handy if a modal form causes the control to lose focus and default to the start.
More documentation
See https://imperavi.com/assets/pdf/redactor-documentation-10.pdf
Cheers