Merge branch 'master' into fix/groups-issue-interupting

This commit is contained in:
Alexandre BODIN 2019-10-18 13:27:07 +02:00 committed by GitHub
commit 415bdcd806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# Prameters
# Parameters
## Concept

View File

@ -648,11 +648,10 @@ class Wysiwyg extends React.Component {
*/
sendData = editorState => {
if (
this.getEditorState().getCurrentContent() ===
editorState.getCurrentContent()
)
return;
this.getEditorState().getCurrentContent() !==
editorState.getCurrentContent() ||
editorState.getLastChangeType() === 'remove-range'
) {
this.props.onChange({
target: {
value: editorState.getCurrentContent().getPlainText(),
@ -660,6 +659,7 @@ class Wysiwyg extends React.Component {
type: 'textarea',
},
});
} else return;
};
toggleFullScreen = e => {

View File

@ -210,7 +210,7 @@ module.exports = {
null,
formatError({
id: 'Auth.form.error.email.taken',
message: 'Eamil already taken',
message: 'Email already taken',
field: ['email'],
})
);