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

Remove MonacoEditor path property #639

Merged
merged 2 commits into from
Jul 7, 2022
Merged

Remove MonacoEditor path property #639

merged 2 commits into from
Jul 7, 2022

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Jul 7, 2022

It's only really there to support jsx and tsx. Monaco doesn't have an option to enable these on top of typescript and javascript lanaguages. Instead it infers it from the path. Let's just create a random path with the correct extension.
Simplifies integrating the editor, generates less bugs. We can bring it back if needed

@render
Copy link

render bot commented Jul 7, 2022

@oliviertassinari oliviertassinari requested a deployment to remove-path - toolpad-db PR #639 July 7, 2022 15:09 — with Render Abandoned
@Janpot Janpot changed the title Let's forget about the path for now Remove MonacoEditor path property Jul 7, 2022
@Janpot Janpot merged commit 2347594 into master Jul 7, 2022
@Janpot Janpot deleted the remove-path branch July 7, 2022 15:52
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.

2 participants