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

Add method to allow the adding of custom bindings

This commit is contained in:
Sam Bennett 2023-10-10 10:24:38 +01:00
parent 35587a9477
commit 5612108008

View File

@ -2875,6 +2875,9 @@ EasyMDE.prototype.value = function (val) {
}
};
EasyMDE.prototype.addBinding = function(name, method) {
bindings[name] = method;
};
/**
* Bind static methods for exports.