diff --git a/src/components/Widgets/MarkdownControl.js b/src/components/Widgets/MarkdownControl.js index fe16e77a..13e02dca 100644 --- a/src/components/Widgets/MarkdownControl.js +++ b/src/components/Widgets/MarkdownControl.js @@ -4,6 +4,7 @@ import Portal from 'react-portal'; import position from 'selection-position'; import Markdown from 'slate-markdown-serializer'; import { DEFAULT_NODE, NODES, MARKS } from './MarkdownControlElements/localRenderers'; +import { Icon } from '../UI'; import styles from './MarkdownControl.css'; const markdown = new Markdown(); @@ -166,13 +167,13 @@ class MarkdownControl extends React.Component { return (
- {this.renderMarkButton('bold', 'b')} - {this.renderMarkButton('italic', 'i')} + {this.renderMarkButton('bold', 'bold')} + {this.renderMarkButton('italic', 'italic')} {this.renderMarkButton('code', 'code')} {this.renderBlockButton('heading1', 'h1')} {this.renderBlockButton('heading2', 'h2')} - {this.renderBlockButton('block-quote', 'blockquote')} - {this.renderBlockButton('bulleted-list', 'ul')} + {this.renderBlockButton('block-quote', 'quote-left')} + {this.renderBlockButton('bulleted-list', 'list-bullet')}
); @@ -184,7 +185,7 @@ class MarkdownControl extends React.Component { return ( - {icon} + ); } @@ -195,7 +196,7 @@ class MarkdownControl extends React.Component { return ( - {icon} + ); }