Update editor-ts.ts