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

Js to Css not support double quotes ? #42

Open
pigchao opened this issue Jul 20, 2022 · 3 comments
Open

Js to Css not support double quotes ? #42

pigchao opened this issue Jul 20, 2022 · 3 comments

Comments

@pigchao
Copy link

pigchao commented Jul 20, 2022

No description provided.

@pigchao
Copy link
Author

pigchao commented Jul 20, 2022

Command: Ctrl + Shift + J
fontSize: '12px', color: '#717273',
translate to
font-size: 12px; color: #717273;
work fine~

but
fontSize: "12px", color: "#717273",
not working ~

@ansumanshah
Copy link
Owner

would you like to taken an attempt in fixing this issue and raising a PR?

@otomad
Copy link

otomad commented Oct 26, 2022

{
    fontSize: "12px",
    color: "#717273",
}

convert to CSS

{
    font-size: "12px";
    color: "#717273";
}

???

convert back to JS

{
    fontSize: '"12px"',
    color: '"#717273"',
}

oh no!

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

3 participants