Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I include html in the message when using the API? is that supported? #15

Open
mauriciojsola opened this issue Sep 4, 2020 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@mauriciojsola
Copy link

Can I include html in the message when using the API? is that supported?

@aslanon
Copy link
Owner

aslanon commented Sep 4, 2020

No, that is not supported. But I can add this feature to the next release.

@aslanon aslanon self-assigned this Sep 4, 2020
@aslanon aslanon added the enhancement New feature or request label Sep 4, 2020
@mauriciojsola
Copy link
Author

That would be great. Thanks!

@podolskyi
Copy link

@aslanon yes, please

@nekooee
Copy link

nekooee commented Mar 7, 2021

please add this feature. I want to use icon fonts that need HTML support.

@LeoLobLogiciel
Copy link

please add this feature. I want to use icon fonts that need HTML support.

https://www.npmjs.com/package/vue-lsi-util

@nekooee
Copy link

nekooee commented Mar 7, 2021

please add this feature. I want to use icon fonts that need HTML support.

https://www.npmjs.com/package/vue-lsi-util

I did not find any photos or demos of this package. What does it look like?

@LeoLobLogiciel
Copy link

Captura de Pantalla 2021-03-07 a la(s) 19 13 08

Here is an example. You CAN put HTML into the message.

@mkarcsi
Copy link

mkarcsi commented Aug 12, 2021

Not the most beautiful solution, but you can manipulate the DOM of confirm dialog with JS

After this.$confirm() you can add like this:

setTimeout(() => { document.querySelector('.vc-container .vc-text').innerHTML = '<strong>Hello</strong>'; }, 50);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants