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

fix(v2): scripts should allow unknown values #3385

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Sep 1, 2020

Motivation

See #3378

It should be possible to apply data attributes to the scripts tags

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Tests

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Sep 1, 2020
@slorber slorber added pr: bug fix This PR fixes a bug in a past release. and removed CLA Signed Signed Facebook CLA labels Sep 1, 2020
@slorber slorber linked an issue Sep 1, 2020 that may be closed by this pull request
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit 613f20f

https://deploy-preview-3385--docusaurus-2.netlify.app

@slorber slorber merged commit 0d018a8 into master Sep 1, 2020
@slorber slorber added the CLA Signed Signed Facebook CLA label Sep 1, 2020
@lex111 lex111 deleted the slorber/scripts-allow-unknown branch October 7, 2020 12:17
@alexfornuto
Copy link

Hi friends. I came across this PR for the same reason as the original issue. Should the documentation be updated so users know what additional attributes they can pass to scripts in docusaurus.config.js?

@slorber
Copy link
Collaborator Author

slorber commented May 27, 2022

yes if it's missing you can add it in our doc, just send a pr

@alexfornuto
Copy link

I would, if I felt I understood it well enough to properly document it.

@Josh-Cena
Copy link
Collaborator

No worries, I can do it. Thanks for bringing this up!

@Josh-Cena
Copy link
Collaborator

@alexfornuto Included as part of #7519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scripts cannot have data- attributes
5 participants