Used the editors div instead the window for messaging events #26