|
@@ -286,7 +286,7 @@ var Editor = function (_React$Component) {
|
286
|
286
|
autoFocus = _props.autoFocus;
|
287
|
287
|
|
288
|
288
|
var placeholder = this.props.placeholder || _reactIntlUniversal2.default.get("editor.placeholder");
|
289
|
|
- var btnSubmitText = this.props.placeholder || _reactIntlUniversal2.default.get("editor.SubmitBtn");
|
|
289
|
+ var btnSubmitText = this.props.btnSubmitText || _reactIntlUniversal2.default.get("editor.SubmitBtn");
|
290
|
290
|
var handleSubmit = this.handleSubmit;
|
291
|
291
|
var disabledSubmit = btnDisabled || !this.props.value && !this.state.value && !this.state.fileList.length;
|
292
|
292
|
var inputValue = value || this.state.value;
|