add editor.ts
merging