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

Add web editor #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mike-FreeAI
Copy link

Add a web editor to the application.

  • Editor Component: Create a new Editor component in src/components/Editor.tsx using @uiw/react-codemirror. Implement the editor interface, handle code changes, and export the component.
  • App Component: Import and add the Editor component to the main application layout in src/App.tsx.
  • Styling: Add styles for the Editor component in src/index.css to ensure it is properly styled and responsive.
  • HTML Container: Add a container element for the Editor component in public/index.html.
  • Dependencies: Add @uiw/react-codemirror to the dependencies in package.json.

Add a web editor to the application.

* **Editor Component**: Create a new `Editor` component in `src/components/Editor.tsx` using `@uiw/react-codemirror`. Implement the editor interface, handle code changes, and export the component.
* **App Component**: Import and add the `Editor` component to the main application layout in `src/App.tsx`.
* **Styling**: Add styles for the `Editor` component in `src/index.css` to ensure it is properly styled and responsive.
* **HTML Container**: Add a container element for the `Editor` component in `public/index.html`.
* **Dependencies**: Add `@uiw/react-codemirror` to the dependencies in `package.json`.
@Mike-FreeAI
Copy link
Author

Im first @hkonsti @justusmattern27

@Mike-FreeAI Mike-FreeAI reopened this Aug 18, 2024
@Mike-FreeAI Mike-FreeAI marked this pull request as draft August 18, 2024 18:29
@Mike-FreeAI Mike-FreeAI marked this pull request as ready for review August 18, 2024 18:29
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

Successfully merging this pull request may close these issues.

1 participant