mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-08-13 04:02:44 -06:00
Merge pull request #519 from borodean/update-status-bar-typing
This commit is contained in:
commit
c25adab400
@ -103,6 +103,7 @@ const editor2 = new EasyMDE({
|
|||||||
});
|
});
|
||||||
|
|
||||||
editor2.clearAutosavedValue();
|
editor2.clearAutosavedValue();
|
||||||
|
editor2.updateStatusBar('upload-image', 'Drag & drop images!');
|
||||||
|
|
||||||
EasyMDE.togglePreview(editor2);
|
EasyMDE.togglePreview(editor2);
|
||||||
EasyMDE.toggleSideBySide(editor2);
|
EasyMDE.toggleSideBySide(editor2);
|
||||||
|
2
types/easymde.d.ts
vendored
2
types/easymde.d.ts
vendored
@ -259,6 +259,8 @@ declare class EasyMDE {
|
|||||||
|
|
||||||
clearAutosavedValue(): void;
|
clearAutosavedValue(): void;
|
||||||
|
|
||||||
|
updateStatusBar(itemName: string, content: string): void;
|
||||||
|
|
||||||
static toggleBold: (editor: EasyMDE) => void;
|
static toggleBold: (editor: EasyMDE) => void;
|
||||||
static toggleItalic: (editor: EasyMDE) => void;
|
static toggleItalic: (editor: EasyMDE) => void;
|
||||||
static toggleStrikethrough: (editor: EasyMDE) => void;
|
static toggleStrikethrough: (editor: EasyMDE) => void;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user