Add missing drawUploadedImage export

pull/235/head
Jeroen Akkerman 4 years ago
parent 4796a2f5b6
commit b461979067

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

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

Loading…
Cancel
Save