Refactor EditorStore to create its own event sinks