mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-08-13 12:12:44 -06:00
Expose the updateStatusBar
type
This commit is contained in:
parent
041594ae4a
commit
fbc181f5c8
@ -103,6 +103,7 @@ const editor2 = new EasyMDE({
|
||||
});
|
||||
|
||||
editor2.clearAutosavedValue();
|
||||
editor2.updateStatusBar('upload-image', 'Drag & drop images!');
|
||||
|
||||
EasyMDE.togglePreview(editor2);
|
||||
EasyMDE.toggleSideBySide(editor2);
|
||||
|
2
types/easymde.d.ts
vendored
2
types/easymde.d.ts
vendored
@ -258,6 +258,8 @@ declare class EasyMDE {
|
||||
|
||||
clearAutosavedValue(): void;
|
||||
|
||||
updateStatusBar(itemName: string, content: string): void;
|
||||
|
||||
static toggleBold: (editor: EasyMDE) => void;
|
||||
static toggleItalic: (editor: EasyMDE) => void;
|
||||
static toggleStrikethrough: (editor: EasyMDE) => void;
|
||||
|
Loading…
x
Reference in New Issue
Block a user