Closed alphaville closed 8 years ago
I found out that I should be using vex.dialog.open
instead, so I'm closing this issue.
Hey @alphaville , I'm using vex.dialog.open
too, and can see escaped HTML.
EDIT: I've found that in order to see HTML properly, the flag unsafeMessage
should be used instead of only message
. Example:
vex.dialog.open({
overlayClosesOnClick: false,
unsafeMessage: messageHtml
})
Can I create a dialog with a message in HTML? For example, if I try to include HTML code in
message
:I get the message
hello <strong>world</strong>
.