Editor: remove css margins and stop propagating events while typing on the editor area