notiflix / Notiflix

Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
https://notiflix.github.io
MIT License
647 stars 55 forks source link

SOLVED: Confirm plaintext option #2

Closed jczerosb closed 5 years ago

jczerosb commented 5 years ago

What about give to Confirm same 'plainText: true/false' option as available on Report?

notiflix commented 5 years ago

Hi, first of all thank you for using Notiflix.

Your advice has been noted.

The next update to Notiflix will include this.

Thank you.

notiflix commented 5 years ago

Hello again.

Good news for you: Notiflix @1.3.0 released.

The "plainText" option can use on the Confirm and the Notify modules now as in the Report module.

Thank you.

Note: You have to set the "plainText" options as "false" to use HTML allowed contents. Default values are "true" and not allowed HTML.

Example of usage for you: Notiflix.Confirm.Init({ plainText: false, });