Insert HTML and text

This example shows how to use API for inserting text or HTML at the caret.

Click to buttons and see the result.