Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{
name: 'unordered-list',
action: EasyMDE.toggleUnorderedList,
className: 'fas fa-list-ul',
title: 'Unordered List'
},
{
name: 'ordered-list',
action: EasyMDE.toggleOrderedList,
className: 'fas fa-list-ol',
title: 'Ordered List'
},
'|',
{
name: 'link',
action: EasyMDE.drawLink,
className: 'fas fa-link',
title: 'Link'
},
{
name: 'image',
action: EasyMDE.drawImage,
className: 'fas fa-image',
title: 'Image'
},
'|',
{
name: 'preview',
action: EasyMDE.togglePreview,
className: 'fas fa-eye',
title: 'Preview'
},
{
name: 'Generic List',
action: Easymde.toggleUnorderedList,
className: 'material-icons mi-list no-ajaxy',
title: 'Generic List'
},
{
name: 'Numbered List',
action: Easymde.toggleOrderedList,
className: 'material-icons mi-numlist no-ajaxy',
title: 'Numbered List'
},
'|',
{
name: 'Create Link',
action: Easymde.drawLink,
className: 'material-icons mi-link no-ajaxy',
title: 'Create Link'
},
'|',
{
name: 'Toggle Preview',
action: Easymde.togglePreview,
className: 'material-icons mi-preview no-disable no-mobile no-ajaxy',
title: 'Toggle Preview'
}
]
}