2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-02 23:54:28 -06:00

Add missing drawUploadedImage export

This commit is contained in:
Jeroen Akkerman 2020-08-16 19:30:31 +02:00
parent 4796a2f5b6
commit b461979067
2 changed files with 5 additions and 0 deletions

View File

@ -2644,6 +2644,7 @@ EasyMDE.toggleOrderedList = toggleOrderedList;
EasyMDE.cleanBlock = cleanBlock;
EasyMDE.drawLink = drawLink;
EasyMDE.drawImage = drawImage;
EasyMDE.drawUploadedImage = drawUploadedImage;
EasyMDE.drawTable = drawTable;
EasyMDE.drawHorizontalRule = drawHorizontalRule;
EasyMDE.undo = undo;
@ -2700,6 +2701,9 @@ EasyMDE.prototype.drawLink = function () {
EasyMDE.prototype.drawImage = function () {
drawImage(this);
};
EasyMDE.prototype.drawUploadedImage = function () {
drawUploadedImage(this);
};
EasyMDE.prototype.drawTable = function () {
drawTable(this);
};

1
types/easymde.d.ts vendored
View File

@ -241,6 +241,7 @@ declare class EasyMDE {
static cleanBlock: (editor: EasyMDE) => void;
static drawLink: (editor: EasyMDE) => void;
static drawImage: (editor: EasyMDE) => void;
static drawUploadedImage: (editor: EasyMDE) => void;
static drawTable: (editor: EasyMDE) => void;
static drawHorizontalRule: (editor: EasyMDE) => void;
static togglePreview: (editor: EasyMDE) => void;