Optimize editor