How to work with Gradients in your editors