mirror of
https://github.com/strapi/strapi.git
synced 2025-08-12 02:38:21 +00:00
Merge branch 'master' into fix/groups-issue-interupting
This commit is contained in:
commit
415bdcd806
@ -1,4 +1,4 @@
|
||||
# Prameters
|
||||
# Parameters
|
||||
|
||||
## Concept
|
||||
|
||||
|
@ -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 => {
|
||||
|
@ -210,7 +210,7 @@ module.exports = {
|
||||
null,
|
||||
formatError({
|
||||
id: 'Auth.form.error.email.taken',
|
||||
message: 'Eamil already taken',
|
||||
message: 'Email already taken',
|
||||
field: ['email'],
|
||||
})
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user