We developed a Visualization on Kibana 5.1.1. In the "Options" tab of the Visualization, there is an "Add Range" button which when clicked adds a block of HTML code (text boxes and color fields) to the Options tab. Based on the values in the text box and colors the visualization is displayed. Refer to the first image below.
The issue we are facing is, after adding a Range block to the Options tab and saving the visualization. Whenever we reopen the saved Visualization the added Range block disappears (Image below). How do we retain this dynamically added HTML block in the Editor Template(Options Tab).