I have a HTML based candle stick stock chart widget. How can I render it on the chatbot (web channel) as part of the dialog task conversation?
@wslun
As a part of the bot response, you can use the JS editor to format the response using below approved HTML tags.
Tags | Attributes |
---|---|
a | href, title, target |
font | color,size |
table | style,border |
tr | style |
td | style,bgcolor |
div | style |
span | style |
img | src,style,height,width |
h1 | style |
h2 | style |
h3 | style |
h4 | style |
h5 | style |
h6 | style |
Apart from that, there are templates that can be used. If this is not adequate, you can use a custom template to render but that will need modification of the Web-SDK.