|
|
|
@ -96,7 +96,7 @@ class CommentItemMDEditor extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
const { match, history, item, user } = this.props
|
|
|
|
|
const { match, history, item, user, buttonText } = this.props
|
|
|
|
|
if (!item) {
|
|
|
|
|
return <div></div>
|
|
|
|
|
}
|
|
|
|
@ -111,7 +111,7 @@ class CommentItemMDEditor extends Component {
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div id={`reply_message_${item.id}`} className="reply_to_message commentItemMDEditor"
|
|
|
|
|
style={{ paddingTop: '0px', paddingBottom: '20px', marginTop: '36px' }}
|
|
|
|
|
style={{ paddingTop: '0px', paddingBottom: '0px', marginTop: '36px' }}
|
|
|
|
|
>
|
|
|
|
|
<div id={`reply_message_editorMd_${item.id}`} className="editorMD" style={{ marginBottom: '0px'}}>
|
|
|
|
|
<textarea style={{'display': 'none'}}>
|
|
|
|
@ -119,11 +119,14 @@ class CommentItemMDEditor extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
<div className="editor__resize" href="javascript:void(0);" style={{display: ''}}>调整高度</div>
|
|
|
|
|
|
|
|
|
|
<a id={`commitBtn_${item.id}`} href="javascript:void(0)"
|
|
|
|
|
onClick={this.onCommit} style={{ marginRight: '44px' }}
|
|
|
|
|
className="commentsbtn task-btn task-btn-blue fr " style={{display: ''}}>
|
|
|
|
|
发送
|
|
|
|
|
</a>
|
|
|
|
|
<div class="clearfix">
|
|
|
|
|
<a id={`commitBtn_${item.id}`} href="javascript:void(0)"
|
|
|
|
|
onClick={this.onCommit} style={{ marginRight: '44px' }}
|
|
|
|
|
className="commentsbtn task-btn task-btn-blue fr " style={{display: ''}}>
|
|
|
|
|
{ buttonText || '发送'}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|