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
|
## Concept
|
||||||
|
|
||||||
|
@ -648,11 +648,10 @@ class Wysiwyg extends React.Component {
|
|||||||
*/
|
*/
|
||||||
sendData = editorState => {
|
sendData = editorState => {
|
||||||
if (
|
if (
|
||||||
this.getEditorState().getCurrentContent() ===
|
this.getEditorState().getCurrentContent() !==
|
||||||
editorState.getCurrentContent()
|
editorState.getCurrentContent() ||
|
||||||
)
|
editorState.getLastChangeType() === 'remove-range'
|
||||||
return;
|
) {
|
||||||
|
|
||||||
this.props.onChange({
|
this.props.onChange({
|
||||||
target: {
|
target: {
|
||||||
value: editorState.getCurrentContent().getPlainText(),
|
value: editorState.getCurrentContent().getPlainText(),
|
||||||
@ -660,6 +659,7 @@ class Wysiwyg extends React.Component {
|
|||||||
type: 'textarea',
|
type: 'textarea',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
} else return;
|
||||||
};
|
};
|
||||||
|
|
||||||
toggleFullScreen = e => {
|
toggleFullScreen = e => {
|
||||||
|
@ -210,7 +210,7 @@ module.exports = {
|
|||||||
null,
|
null,
|
||||||
formatError({
|
formatError({
|
||||||
id: 'Auth.form.error.email.taken',
|
id: 'Auth.form.error.email.taken',
|
||||||
message: 'Eamil already taken',
|
message: 'Email already taken',
|
||||||
field: ['email'],
|
field: ['email'],
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user