Skip to content

Commit 39632a7

Browse files
committed
Set JSX as default mode for the editor
1 parent ffe95b7 commit 39632a7

File tree

1 file changed

+1
-0
lines changed
  • packages/react-renderer-demo/src/app/src/components/code-editor

1 file changed

+1
-0
lines changed

packages/react-renderer-demo/src/app/src/components/code-editor/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const CodeEditor = (props) => (
2727
onLoad={(editor) => {
2828
editor.getSession().setUseWorker(false);
2929
}}
30+
mode="jsx"
3031
{...props}
3132
/>
3233
);

0 commit comments

Comments
 (0)