Open DEEKSHITHATME opened 3 years ago
@Ionaru Please check this.
You can definitely define a custom button that does this, but you'll have to write the code yourself.
new EasyMDE({
toolbar: [
// other buttons you want
{
name: 'document upload',
className: "fas fa-file-alt",
action: (editor) => {
// Open file upload dialog.
// Upload file to server.
// Insert link to file in editor.
}
}
],
});
Hi, i want to add another icon in toolbar to upload pdf or doc file just like image how can i extend this? Please help me with this