1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-30 10:10:13 +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

@@ -215,6 +215,13 @@ export default class Settings extends Component {
pref={this.props.prefs.lineWrap}
onChange={this.updateSetting.bind(this)}
/>
<CheckboxSetting
name="autoCloseTags"
title="Add the closing tag automatically on seeing an opening tag in HTML"
label="Auto-close tags"
pref={this.props.prefs.autoCloseTags}
onChange={this.updateSetting.bind(this)}
/>
<CheckboxSetting
name="refreshOnResize"
title="Your Preview will refresh when you resize the preview split"