export editor correctly