Added events for editor

Signed-off-by: Slava Zanko <slavazanko@gmail.com>