CodeEditor component not rendering #2681
Unanswered
shrestha-bikash
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I am trying to use
CodeEditor
component following this guide https://cloudscape.design/components/code-editor?tabId=api but facing multiple issues. I have followed the exact example as shown in the guide. The first issue that I am seeing is:Uncaught (in promise) Error: Unknown config key: useStrictCSP
and if I comment out this statement:ace.config.set('useStrictCSP', true);
, the error goes away. But another error appears saying:TypeError: ace.Range is not a constructor
. I am not able to find the root cause of this issue. Can someone help with this?I am using
ace-build: 1.36.0
Beta Was this translation helpful? Give feedback.
All reactions