dev_jupyter
杨树林 5 years ago
commit ec580522cd

@ -682,6 +682,7 @@ class TopicDetail extends Component {
</div> </div>
{!isCourseEnd && <MemoDetailMDEditor ref="editor" memo={memo} usingMockInput={true} placeholder="说点什么" {!isCourseEnd && <MemoDetailMDEditor ref="editor" memo={memo} usingMockInput={true} placeholder="说点什么"
{...this.props}
height={160} showError={true} buttonText={'发表'} className={comments && comments.length && 'borderBottom'}></MemoDetailMDEditor>} height={160} showError={true} buttonText={'发表'} className={comments && comments.length && 'borderBottom'}></MemoDetailMDEditor>}
{/* onClick={ this.createNewComment } {/* onClick={ this.createNewComment }

@ -252,6 +252,7 @@ class CommonReply extends Component{
<MemoDetailMDEditor ref="editor" memo={memo} usingMockInput={true} placeholder="说点什么" <MemoDetailMDEditor ref="editor" memo={memo} usingMockInput={true} placeholder="说点什么"
height={160} showError={true} imageExpand={true} height={160} showError={true} imageExpand={true}
replyComment={this.replyComment} replyComment={this.replyComment}
{...this.props}
commentsLength={comments ? comments.length : 0} commentsLength={comments ? comments.length : 0}
></MemoDetailMDEditor> ></MemoDetailMDEditor>
{/* bor-bottom-greyE */} {/* bor-bottom-greyE */}

@ -235,7 +235,7 @@ class GraduationTaskssettingReply extends Component{
<style>{` <style>{`
`}</style> `}</style>
<MemoDetailMDEditor ref="editor" memo={memo} usingMockInput={true} placeholder="请在此输入对本作品的评语最大限制2000个字符" <MemoDetailMDEditor {...this.props} ref="editor" memo={memo} usingMockInput={true} placeholder="请在此输入对本作品的评语最大限制2000个字符"
height={160} showError={true}></MemoDetailMDEditor> height={160} showError={true}></MemoDetailMDEditor>
<div className="padding40 bor-bottom-greyE memoReplies commentsDelegateParent" <div className="padding40 bor-bottom-greyE memoReplies commentsDelegateParent"

@ -226,7 +226,7 @@ class GraduateTopicReply extends Component{
return( return(
<React.Fragment> <React.Fragment>
<MemoDetailMDEditor ref="editor" memo={memo} usingMockInput={true} placeholder="说点什么" <MemoDetailMDEditor {...this.props} ref="editor" memo={memo} usingMockInput={true} placeholder="说点什么"
height={160} showError={true}></MemoDetailMDEditor> height={160} showError={true}></MemoDetailMDEditor>
<div className="padding40 bor-bottom-greyE memoReplies commentsDelegateParent" <div className="padding40 bor-bottom-greyE memoReplies commentsDelegateParent"

@ -816,9 +816,9 @@ class MemoDetail extends Component {
} }
</div> </div>
{ window.__useKindEditor === true ? { window.__useKindEditor === true ?
<MemoDetailKEEditor ref="editor" memo={memo}></MemoDetailKEEditor> <MemoDetailKEEditor ref="editor" memo={memo} {...this.props}></MemoDetailKEEditor>
: :
<MemoDetailMDEditor ref="editor" memo={memo}></MemoDetailMDEditor> <MemoDetailMDEditor ref="editor" memo={memo} {...this.props}></MemoDetailMDEditor>
} }
{/* onClick={ this.createNewComment } */} {/* onClick={ this.createNewComment } */}

Loading…
Cancel
Save