We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5aff6 commit b61721bCopy full SHA for b61721b
src/app/components/sandbox/CodeEditor/index.js
@@ -249,7 +249,12 @@ export default class CodeEditor extends React.PureComponent {
249
} else {
250
const spaces = Array(cm.getOption('indentUnit') + 1).join(' ');
251
cm.replaceSelection(spaces, 'end', '+input');
252
- cm.execCommand('emmetExpandAbbreviation');
+
253
+ try {
254
+ cm.execCommand('emmetExpandAbbreviation');
255
+ } catch (e) {
256
+ console.error(e);
257
+ }
258
}
259
},
260
Enter: 'emmetInsertLineBreak',
0 commit comments