1 2 3 4 5 6 7 8 9 10 11 12
import xtext from 'xtext/xtext-codemirror'; import 'mode-problem'; import '../css/index.scss'; xtext.createEditor({ baseUrl: '/', xtextLang: 'problem', enableFormattingAction: true, sendFullText: false, indentUnit: 2, });