Add examples for most of the editor API