reactivity only when editor is active