implemented export from editor