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

[question] how do i enable youtube embed? #5

Open
u007 opened this issue Jan 4, 2022 · 1 comment
Open

[question] how do i enable youtube embed? #5

u007 opened this issue Jan 4, 2022 · 1 comment

Comments

@u007
Copy link

u007 commented Jan 4, 2022

i tried to enable iframe, but it seems to return no attributes.
how do i allow certain attributes?

thank you

@Harm-Nullix
Copy link

You should check rather !npm sanitize-html instead of this package.
This repo you are looking at is more of a wrapper and passess arguments down.

For defaults you can use something like:

 const myOptions = { spam: 'eggs'}
 Vue.use(Vue3Sanitize, myOptions)

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

No branches or pull requests

2 participants