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

[Bug] TS2786: Editor cannot be used as a JSX component. #4568

Open
1 of 2 tasks
Hoax017 opened this issue Jun 18, 2024 · 1 comment
Open
1 of 2 tasks

[Bug] TS2786: Editor cannot be used as a JSX component. #4568

Hoax017 opened this issue Jun 18, 2024 · 1 comment

Comments

@Hoax017
Copy link

Hoax017 commented Jun 18, 2024

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

Reproduction Steps

No response

Actual (Problematic) Behavior

Package.json

    "@monaco-editor/react": "^4.6.0",

import

import { Editor } from "@monaco-editor/react";

I can't use Editor in my TSX file.

Context: I am writing a Strapi plugin
Capture d’écran 2024-06-18 à 10 32 16

Expected Behavior

No response

Additional Context

No response

@burnettk
Copy link

you are looking for this repo: https://github.com/suren-atoyan/monaco-react

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

2 participants