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

Shortcode not using the plugin configuration? #50

Open
aleclerc7 opened this issue Mar 4, 2022 · 0 comments
Open

Shortcode not using the plugin configuration? #50

aleclerc7 opened this issue Mar 4, 2022 · 0 comments

Comments

@aleclerc7
Copy link

Hello,

I am trying the shortcode version of the plugin. I realized that the shortcode version does not use the plugin configuration file. Is there a way to do so? Or is it an undocumented feature or a bug?

Output with: [plugin:youtube](https://www.youtube.com/watch?v=dQw4w9WgXcQ) (standard way, expected output)

  <div class="grav-youtube">
      <iframe src="https://www.youtube-nocookie.com/embed/dQw4w9WgXcQ?disablekb=1&amp;rel=0" frameborder="0" allowfullscreen></iframe>
  </div>

Output with: [youtube]https://www.youtube.com/watch?v=dQw4w9WgXcQ[/youtube] (shortcode, config not used)

  <div class="grav-youtube">
      <iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
  </div>

Thank you for you help!

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

1 participant