1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-28 09:10:17 +02:00

Add setting for autoclosetags. fixes #347

This commit is contained in:
Kushagra Gour
2018-11-16 23:40:43 +05:30
parent bffb095832
commit b1f2e62c0b
3 changed files with 10 additions and 1 deletions

View File

@@ -330,6 +330,7 @@ export default class ContentWrap extends Component {
this.cm[type].setOption('keyMap', prefs.keymap);
this.cm[type].setOption('lineWrapping', prefs.lineWrap);
this.cm[type].setOption('autoCloseTags', prefs.autoCloseTags);
this.cm[type].refresh();
});
}