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

Long .env file can't be fully edited. #247

Closed
2 tasks done
mariushosting opened this issue Dec 5, 2023 · 2 comments · Fixed by #255
Closed
2 tasks done

Long .env file can't be fully edited. #247

mariushosting opened this issue Dec 5, 2023 · 2 comments · Fixed by #255
Labels
bug Something isn't working

Comments

@mariushosting
Copy link

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

If you have a long .env file, you can only modify half of it.
screencapture-192-168-1-18-5571-compose-firefly-2023-12-06-01_11_07

👟 Reproduction steps

upload a long .env file

👀 Expected behavior

expect to modify all lines.

😓 Actual Behavior

can't modify all env variables.

Dockge Version

1.3.1

💻 Operating System and Arch

20.04

🌐 Browser

Chrome latest

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output

No response

@mariushosting mariushosting added the bug Something isn't working label Dec 5, 2023
@syko9000
Copy link
Contributor

syko9000 commented Dec 6, 2023

This is a problem with the .env highlighter and \r\n's I'll put in a fix for it @louislam

@louislam
Copy link
Owner

louislam commented Dec 6, 2023

This is a problem with the .env highlighter and \r\n's I'll put in a fix for it @louislam

Thanks. Actually, Prismjs provides a hightlighter for .ini, not sure if it works with .env.

And #248, not sure if they are same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants