Hello,
The SMMRichEditor of @somed3v3loper
I noticed the "Enabled" property which does not always work for me (?). How else can I do it?
The SMMRichEditor of @somed3v3loper
I noticed the "Enabled" property which does not always work for me (?). How else can I do it?
Enabled as Boolean:
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
...