After creating editor, you can use editor.txt.append('<p>content</p>') to append content.
editor.txt.append('<p>content</p>')