2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-16 06:24:28 -06:00

Fix ToolbarIcon type.

This commit is contained in:
nonz250 2023-01-23 20:49:15 +09:00
parent abead2a068
commit c045d84960
2 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,7 @@ const editor2 = new EasyMDE({
name: 'link',
action: 'https://github.com/Ionaru/easy-markdown-editor',
className: 'fa fab fa-github',
text: 'A Custom Link',
title: 'A Custom Link',
noDisable: true,
noMobile: true,

1
types/easymde.d.ts vendored
View File

@ -144,6 +144,7 @@ declare namespace EasyMDE {
name: string;
action: string | ((editor: EasyMDE) => void);
className: string;
text?: string;
title: string;
noDisable?: boolean;
noMobile?: boolean;