mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-17 06:54:27 -06:00
Fix ToolbarIcon type.
This commit is contained in:
parent
abead2a068
commit
c045d84960
@ -82,6 +82,7 @@ const editor2 = new EasyMDE({
|
|||||||
name: 'link',
|
name: 'link',
|
||||||
action: 'https://github.com/Ionaru/easy-markdown-editor',
|
action: 'https://github.com/Ionaru/easy-markdown-editor',
|
||||||
className: 'fa fab fa-github',
|
className: 'fa fab fa-github',
|
||||||
|
text: 'A Custom Link',
|
||||||
title: 'A Custom Link',
|
title: 'A Custom Link',
|
||||||
noDisable: true,
|
noDisable: true,
|
||||||
noMobile: true,
|
noMobile: true,
|
||||||
|
1
types/easymde.d.ts
vendored
1
types/easymde.d.ts
vendored
@ -144,6 +144,7 @@ declare namespace EasyMDE {
|
|||||||
name: string;
|
name: string;
|
||||||
action: string | ((editor: EasyMDE) => void);
|
action: string | ((editor: EasyMDE) => void);
|
||||||
className: string;
|
className: string;
|
||||||
|
text?: string;
|
||||||
title: string;
|
title: string;
|
||||||
noDisable?: boolean;
|
noDisable?: boolean;
|
||||||
noMobile?: boolean;
|
noMobile?: boolean;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user