2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-08-12 03:32:44 -06:00

Merge pull request #519 from borodean/update-status-bar-typing

This commit is contained in:
Jeroen Akkerman 2023-01-12 15:14:11 +01:00 committed by GitHub
commit c25adab400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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
View File

@ -259,6 +259,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;