Skip to content

Patch: robotImage and userImage option

Compare
Choose a tag to compare
@jenssogaard jenssogaard released this 06 Feb 19:01
· 190 commits to master since this release

This patches an issue where robotImage/userImage would be presented as text string when using relative image path. This issue was introduced along with the option to show text instead of an image (v0.9.70). Displaying text instead of an image is possible using the below syntax:

new cf.ConversationalForm({
  formEl: myForm,
  robotImage: "text:CF",
  userImage: "text:ME"
});