mirror of
https://github.com/wassname/talk.git
synced 2026-07-09 05:49:53 +08:00
Adding changes to the comments on the User Drawer Detail
This commit is contained in:
@@ -5,7 +5,7 @@ import { Link } from 'react-router';
|
||||
import { Icon } from 'coral-ui';
|
||||
import CommentDetails from './CommentDetails';
|
||||
import styles from './UserDetailComment.css';
|
||||
import CommentBodyHighlighter from 'coral-admin/src/components/CommentBodyHighlighter';
|
||||
import CommentFormatter from 'coral-admin/src/components/CommentFormatter';
|
||||
import IfHasLink from 'coral-admin/src/components/IfHasLink';
|
||||
import cn from 'classnames';
|
||||
import CommentAnimatedEdit from './CommentAnimatedEdit';
|
||||
@@ -78,9 +78,11 @@ class UserDetailComment extends React.Component {
|
||||
<CommentAnimatedEdit body={comment.body}>
|
||||
<div className={styles.bodyContainer}>
|
||||
<div className={styles.body}>
|
||||
<CommentBodyHighlighter
|
||||
suspectWords={suspect}
|
||||
bannedWords={banned}
|
||||
<CommentFormatter
|
||||
settings={{
|
||||
suspectWords: suspect,
|
||||
bannedWords: banned,
|
||||
}}
|
||||
body={comment.body}
|
||||
/>{' '}
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user