[Playground][Nit] Add delete + overtype for autoclosing brackets

Fix for papercut: playground should now be smart about autoclosing brackets. 

Before: 


https://user-images.githubusercontent.com/34200447/195653419-0eb529e4-0aed-4894-9db6-bfe1554aaded.mov 

Now: 


https://user-images.githubusercontent.com/34200447/195653738-07abed36-d9e8-4842-bac5-9e84b72c0704.mov
This commit is contained in:
mofeiZ
2022-10-13 13:16:56 -04:00
parent 144e856264
commit 73059d9a4f
@@ -17,4 +17,8 @@ export const monacoOptions: Partial<EditorProps["options"]> = {
formatOnType: true,
fontFamily: '"Source Code Pro", monospace',
glyphMargin: true,
autoClosingBrackets: "languageDefined",
autoClosingDelete: "always",
autoClosingOvertype: "always",
};