add blockquote rte button
This commit is contained in:
parent
9dcda7b0b9
commit
406ae57d3e
@ -62,9 +62,10 @@ export default class Toolbar extends React.Component {
|
|||||||
{ label: 'Code', icon: 'code-alt', state: buttons.code },
|
{ label: 'Code', icon: 'code-alt', state: buttons.code },
|
||||||
{ label: 'Header 1', icon: 'h1', state: buttons.h1 },
|
{ label: 'Header 1', icon: 'h1', state: buttons.h1 },
|
||||||
{ label: 'Header 2', icon: 'h2', state: buttons.h2 },
|
{ label: 'Header 2', icon: 'h2', state: buttons.h2 },
|
||||||
|
{ label: 'Code Block', icon: 'code', state: buttons.codeBlock },
|
||||||
|
{ label: 'Quote', icon: 'quote', state: buttons.quote },
|
||||||
{ label: 'Bullet List', icon: 'list-bullet', state: buttons.list },
|
{ label: 'Bullet List', icon: 'list-bullet', state: buttons.list },
|
||||||
{ label: 'Numbered List', icon: 'list-numbered', state: buttons.listNumbered },
|
{ label: 'Numbered List', icon: 'list-numbered', state: buttons.listNumbered },
|
||||||
{ label: 'Code Block', icon: 'code', state: buttons.codeBlock },
|
|
||||||
{ label: 'Link', icon: 'link', state: buttons.link },
|
{ label: 'Link', icon: 'link', state: buttons.link },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -178,6 +178,7 @@ export default class Editor extends Component {
|
|||||||
list: this.getButtonProps('bulleted-list', { isBlock: true }),
|
list: this.getButtonProps('bulleted-list', { isBlock: true }),
|
||||||
listNumbered: this.getButtonProps('numbered-list', { isBlock: true }),
|
listNumbered: this.getButtonProps('numbered-list', { isBlock: true }),
|
||||||
codeBlock: this.getButtonProps('code', { isBlock: true }),
|
codeBlock: this.getButtonProps('code', { isBlock: true }),
|
||||||
|
quote: this.getButtonProps('quote', { isBlock: true }),
|
||||||
}}
|
}}
|
||||||
onToggleMode={this.handleToggle}
|
onToggleMode={this.handleToggle}
|
||||||
plugins={this.state.shortcodePlugins}
|
plugins={this.state.shortcodePlugins}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user