mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Merge branch 'master' into localization
This commit is contained in:
@@ -36,7 +36,7 @@ class NewNoteModal extends React.Component {
|
||||
content: ''
|
||||
})
|
||||
.then((note) => {
|
||||
const noteHash = `${note.storage}-${note.key}`
|
||||
const noteHash = note.key
|
||||
dispatch({
|
||||
type: 'UPDATE_NOTE',
|
||||
note: note
|
||||
@@ -76,7 +76,7 @@ class NewNoteModal extends React.Component {
|
||||
}]
|
||||
})
|
||||
.then((note) => {
|
||||
const noteHash = `${note.storage}-${note.key}`
|
||||
const noteHash = note.key
|
||||
dispatch({
|
||||
type: 'UPDATE_NOTE',
|
||||
note: note
|
||||
|
||||
@@ -43,7 +43,7 @@ class InfoTab extends React.Component {
|
||||
})
|
||||
} else {
|
||||
this.setState({
|
||||
amaMessage: i18n.__('Thank\'s for trust us')
|
||||
amaMessage: i18n.__('Thank\'s for trusting us')
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -90,7 +90,8 @@ class UiTab extends React.Component {
|
||||
latexInlineClose: this.refs.previewLatexInlineClose.value,
|
||||
latexBlockOpen: this.refs.previewLatexBlockOpen.value,
|
||||
latexBlockClose: this.refs.previewLatexBlockClose.value,
|
||||
scrollPastEnd: this.refs.previewScrollPastEnd.checked
|
||||
scrollPastEnd: this.refs.previewScrollPastEnd.checked,
|
||||
smartQuotes: this.refs.previewSmartQuotes.checked
|
||||
}
|
||||
}
|
||||
|
||||
@@ -429,6 +430,16 @@ class UiTab extends React.Component {
|
||||
{i18n.__('Show line numbers for preview code blocks')}
|
||||
</label>
|
||||
</div>
|
||||
<div styleName='group-checkBoxSection'>
|
||||
<label>
|
||||
<input onChange={(e) => this.handleUIChange(e)}
|
||||
checked={this.state.config.preview.smartQuotes}
|
||||
ref='previewSmartQuotes'
|
||||
type='checkbox'
|
||||
/>
|
||||
Enable smart quotes
|
||||
</label>
|
||||
</div>
|
||||
<div styleName='group-section'>
|
||||
<div styleName='group-section-label'>
|
||||
{i18n.__('LaTeX Inline Open Delimiter')}
|
||||
|
||||
Reference in New Issue
Block a user