Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
toolbar: [
{
name: 'bold',
action: EasyMDE.toggleBold,
className: 'fas fa-bold',
title: 'Bold'
},
{
name: 'italic',
action: EasyMDE.toggleItalic,
className: 'fas fa-italic',
title: 'Italic'
},
{
name: 'heading',
action: EasyMDE.toggleHeadingSmaller,
className: 'fas fa-heading',
title: 'Heading'
},
'|',
{
name: 'code',
action: EasyMDE.toggleCodeBlock,
className: 'fas fa-code',
title: 'Code'
},
{
name: 'quote',
action: EasyMDE.toggleBlockquote,
className: 'fas fa-quote-left',
title: 'Quote'
},
return [
{
name: 'bold',
action: Easymde.toggleBold,
className: 'material-icons mi-bold no-ajaxy',
title: 'Bold'
},
{
name: 'italic',
action: Easymde.toggleItalic,
className: 'material-icons mi-italic no-ajaxy',
title: 'Italic'
},
{
name: 'Title',
action: Easymde.toggleHeadingSmaller,
className: 'material-icons mi-title no-ajaxy',
title: 'Title'
},
'|',
{
name: 'Code',
action: Easymde.toggleCodeBlock,
className: 'material-icons mi-code no-ajaxy',
title: 'Code'
},
{
name: 'Quote',
action: Easymde.toggleBlockquote,
className: 'material-icons mi-quote no-ajaxy',
title: 'Quote'
},