Adding changes to the comments on the User Drawer Detail

This commit is contained in:
okbel
2018-01-12 15:51:49 -03:00
parent e256b0da8a
commit 86c4d70daf
@@ -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