|
@@ -172,7 +172,7 @@ export default class RichTextEditor extends Component {
|
172
|
172
|
}
|
173
|
173
|
|
174
|
174
|
_renderModalButtons() {
|
175
|
|
- const insertDisabled = this.state.linkTitle.length <= 0;
|
|
175
|
+ const insertDisabled = this.state.linkTitle.trim().length <= 0 || this.state.linkUrl.trim().length <= 0;
|
176
|
176
|
const containerPlatformStyle = PlatfomIOS ? {justifyContent: 'space-between'} : {paddingTop: 15};
|
177
|
177
|
const buttonPlatformStyle = PlatfomIOS ? {flex: 1, height: 45, justifyContent: 'center'} : {};
|
178
|
178
|
return (
|