Skip to content

Commit

Permalink
Clean up a bit of commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
atimmer committed Aug 3, 2018
1 parent 0ec445d commit 318435e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,13 +799,7 @@ export class RichText extends Component {
// mount and initialize a new child element in its place.
const key = [ 'editor', Tagname ].join();
const isPlaceholderVisible = placeholder && ( ! isSelected || keepPlaceholderOnFocus ) && this.isEmpty();
let classes = classnames( wrapperClassName, 'editor-rich-text' );

// if ( annotationTarget !== '' ) {
classes += " annotation-target";
// classes.push( 'annotation-target' );
// classes.push( 'annotation-target' + annotationTarget );
// }
const classes = classnames( wrapperClassName, 'editor-rich-text annotation-target' );

const formatToolbar = (
<FormatToolbar
Expand Down

0 comments on commit 318435e

Please sign in to comment.