shoving editor into ctx so others can use it or roll it back