|
@@ -113,7 +113,6 @@ export default class CodeMirrorEditor extends AbstractEditor {
|
|
|
isSimpleCheatsheetShown: this.props.isGfmMode && this.props.value.length === 0,
|
|
isSimpleCheatsheetShown: this.props.isGfmMode && this.props.value.length === 0,
|
|
|
isCheatsheetModalShown: false,
|
|
isCheatsheetModalShown: false,
|
|
|
additionalClassSet: new Set(),
|
|
additionalClassSet: new Set(),
|
|
|
- isTextlintEnabled: false,
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
this.gridEditModal = React.createRef();
|
|
this.gridEditModal = React.createRef();
|
|
@@ -159,8 +158,6 @@ export default class CodeMirrorEditor extends AbstractEditor {
|
|
|
? { dicPath: '/static/dict/cdn' }
|
|
? { dicPath: '/static/dict/cdn' }
|
|
|
: { dicPath: 'https://cdn.jsdelivr.net/npm/kuromoji@0.1.2/dict' };
|
|
: { dicPath: 'https://cdn.jsdelivr.net/npm/kuromoji@0.1.2/dict' };
|
|
|
|
|
|
|
|
- this.state.isTextlintEnabled = this.props.isTextlintEnabled;
|
|
|
|
|
-
|
|
|
|
|
this.textlintConfig = [
|
|
this.textlintConfig = [
|
|
|
{ name: 'no-unmatched-pair' },
|
|
{ name: 'no-unmatched-pair' },
|
|
|
{ name: 'common-misspellings' },
|
|
{ name: 'common-misspellings' },
|