You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeEditor utilizes the monaco editor under the covers. When the component loads, several files are downloaded from external CDN. Expectation is for all dependencies to come pre-packaged with patternfly.
Describe the problem
CodeEditor
utilizes the monaco editor under the covers. When the component loads, several files are downloaded from external CDN. Expectation is for all dependencies to come pre-packaged with patternfly.A link to the documentation for this:
https://github.com/suren-atoyan/monaco-react?tab=readme-ov-file#use-monaco-editor-as-an-npm-package
How do you reproduce the problem?
Visit the patternfly CodeEditor component page: https://www.patternfly.org/components/code-editor
Observe in the network requests several files related to monaco editor loading from external CDN:
![image](https://private-user-images.githubusercontent.com/14068621/343269848-0d361924-4a79-4357-af02-1204d5fd58da.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NTIwNTMsIm5iZiI6MTcxOTc1MTc1MywicGF0aCI6Ii8xNDA2ODYyMS8zNDMyNjk4NDgtMGQzNjE5MjQtNGE3OS00MzU3LWFmMDItMTIwNGQ1ZmQ1OGRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDEyNDkxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdlZmMzMDI3NDU0OTQ2NTViNTUwNGFhMTY4YjZjYTNkNzkxNTZkYzEyM2EwYjVjY2IyMTBhYzdjOTVkMmJkZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.O1aQNeW4uBIPS7MrR5Qs8jdjdYyU14eWMUjcBAUSt8g)
Expected behavior
Files should be packaged
node_modules
with no reliance on external CDN.Is this issue blocking you?
List the workaround if there is one.
What is your product and what release date are you targeting?
RHOAI 2.12
Any other information?
The text was updated successfully, but these errors were encountered: