Add a controller behavior to Editor on cursor events