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 monaco code editor #82

Closed
wants to merge 2 commits into from
Closed

Add monaco code editor #82

wants to merge 2 commits into from

Conversation

MahmoudHamdy02
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@KKoukiou KKoukiou left a comment

Choose a reason for hiding this comment

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

Is there some reason behind not choosing Patternfly https://www.patternfly.org/components/code-editor ?

@MahmoudHamdy02
Copy link
Collaborator Author

@KKoukiou
Copy link
Collaborator

Copy link
Collaborator

@KKoukiou KKoukiou left a comment

Choose a reason for hiding this comment

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

This has some CSP issues as you currently figured out. See #83 (comment) for details.

Try using the monaco-editor/react which looks like addressed already these issues.

@allisonkarlitskaya
Copy link
Member

This is not planned — mostly do to how large this component is and the CSP issues introduced by loading content from the CDN. We will add a simple editor based on TextArea for the time being.

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.

None yet

3 participants