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

feat: Added code editor feature successfully issue 171 #189

Merged
merged 3 commits into from
Jun 13, 2024

Conversation

MeetDOD
Copy link
Contributor

@MeetDOD MeetDOD commented Jun 12, 2024

Pull Request Resolves [#171]

Title: Added code editor feature also redirect to the code created in the editor to new-post page.

Description

  1. Created code editor in CodeEditor.tsx file.
  2. Also it consists of two button 1st for changing light/dark mode and second is to post the code created in the code editor.
  3. When the button is pressed by the user it will navigate to the /app/new-post and automatically paste the code that user had created in the code editor.
  4. Also it is responsive in every devices.
  5. Also I implemented the button name and all in all languages.

Related Issues

Fixes #171

Changes Made

New features: Added code editor feature.

Screenshots

image

Video

Style.Share.-.Google.Chrome.2024-06-12.20-32-08.online-video-cutter.com.mp4

I certify that I have carried out the relevant code of conduct and provided the requisite screenshot for validation by submitting this pull request.

Thank You for this contribution.

Copy link

vercel bot commented Jun 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
style-share ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 2:21pm

Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link
Owner

@VaibhavArora314 VaibhavArora314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default keep the editor theme dark.
Rename Code Option in the navbar to Code Editor.
Make the default code snippet have a darker background.

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 13, 2024

By default keep the editor theme dark. Rename Code Option in the navbar to Code Editor. Make the default code snippet have a darker background.

Noted

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 13, 2024

@VaibhavArora314 All the 3 changes are done as per you mentioned.

image

@VaibhavArora314 VaibhavArora314 merged commit 4b8ecef into VaibhavArora314:main Jun 13, 2024
3 checks passed
Copy link

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀

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

Successfully merging this pull request may close these issues.

[Feature Request]: Inbuilt css complier in style share
2 participants