How to optimize content in the editor?