Closed p3yman closed 1 year ago
Describe the bug upload-image is missing from ToolbarButton types and it cause error on TypeScript.
upload-image
ToolbarButton
To Reproduce Steps to reproduce the behavior:
SimpleMDE.Options
const editorOptions: SimpleMDE.Options = { toolbar: [ 'bold', 'italic', 'strikethrough', 'upload-image', ], };
Expected behavior It should be included in easymde.d.ts
easymde.d.ts
Version information
PR: https://github.com/Ionaru/easy-markdown-editor/pull/520.
Fixed in https://github.com/Ionaru/easy-markdown-editor/pull/520
Describe the bug
upload-image
is missing fromToolbarButton
types and it cause error on TypeScript.To Reproduce Steps to reproduce the behavior:
upload-image
on a custom toolbar with typeSimpleMDE.Options
like:Expected behavior It should be included in
easymde.d.ts
Version information