I am looking to do something similar. I think the problem line in the solution is $(“#editor”).jqxEditor(‘val’, value); Overwriting the content isn’t what I’m looking for. What I think is really needed is a way to execute an inserthtml command on the editor object. I want to launch some code on the button event and then at some point insert html from an external source, not with an inline object being returned on the event.