|
|
@ -130,7 +130,7 @@ class MemoDetailMDEditor extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|
const { match, history, memo, placeholder, className } = this.props
|
|
|
|
const { match, history, memo, placeholder, className, imageExpand } = this.props
|
|
|
|
const { isInited, errorMsg } = this.state
|
|
|
|
const { isInited, errorMsg } = this.state
|
|
|
|
if (!memo) {
|
|
|
|
if (!memo) {
|
|
|
|
return <div></div>
|
|
|
|
return <div></div>
|
|
|
@ -185,7 +185,8 @@ class MemoDetailMDEditor extends Component {
|
|
|
|
`
|
|
|
|
`
|
|
|
|
} */}
|
|
|
|
} */}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<div nhname={`new_message_${memo.id}`} className={`commentInput commentInputs ${className}`}
|
|
|
|
<div nhname={`new_message_${memo.id}`}
|
|
|
|
|
|
|
|
className={`commentInput commentInputs ${className} ${imageExpand && 'editormd-image-click-expand' }`}
|
|
|
|
style={{ padding: '30px',boxSizing:"border-box", display: isInited ? '' : 'none', paddingBottom: '40px' }} >
|
|
|
|
style={{ padding: '30px',boxSizing:"border-box", display: isInited ? '' : 'none', paddingBottom: '40px' }} >
|
|
|
|
<div id="memo_comment_editorMd" className="editorMD" style={{ marginBottom: '0px'
|
|
|
|
<div id="memo_comment_editorMd" className="editorMD" style={{ marginBottom: '0px'
|
|
|
|
, border: errorMsg ? '1px solid red' : '1px solid #ddd'}}>
|
|
|
|
, border: errorMsg ? '1px solid red' : '1px solid #ddd'}}>
|
|
|
|