Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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'
}
]
}
{
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: 'fullscreen',
action: EasyMDE.toggleFullScreen,
className: 'fas fa-arrows-alt',
title: 'Image'
}
]
})
this.editor.codemirror.on('change', () => {
this.currentNotes = this.editor.value()
})
},
destroyed() {