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

OnValidate on getting called when monaco-editor is used as npm package #592

Open
suniljaiswal01 opened this issue Mar 8, 2024 · 0 comments

Comments

@suniljaiswal01
Copy link

Describe the bug
I am trying to use monaco-editor as npm package as described here https://github.com/suren-atoyan/monaco-react#use-monaco-editor-as-an-npm-package

When is follow the above mentioned approach..the onValidate in Editor component is not getting called

To Reproduce

Expected behavior
On Validate should get called.

Screenshots

when using monaco-editor as npm package
image

when using via CDN
image

Desktop (please complete the following information):

  • OS: [e.g. iOS] iOS
  • Browser [e.g. chrome, safari] chrome
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

1 participant