Public rte As SMMRichEditor
...
Sub Input(InputParameters As Map, DialogPanel As Panel) As ResumableSub
rte.Initialize("rte")
rte.EditorBackgroundColor = Colors.White
rte.EditorHeight = EditorHeight
fsi = 0 'Font size should have a value between 1 - 7
fts = InputParameters.Get("fontsize")
rte.EditorFontSize = InputParameters.Get("fontsize")
rte.EditorFontColor = Colors.DarkGray
rte.EditorBackgroundColor = Colors.White
rte.Padding = Array As Int(5,10,5,10)
rte.Placeholder = InputParameters.Get("hint")
rte.Html = InputParameters.Get("preset")
rte.Enabled = false
...