moved editor options to editionContext