mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-08-15 21:22:43 -06:00
Add method to allow the adding of custom bindings
This commit is contained in:
parent
35587a9477
commit
5612108008
@ -2875,6 +2875,9 @@ EasyMDE.prototype.value = function (val) {
|
||||
}
|
||||
};
|
||||
|
||||
EasyMDE.prototype.addBinding = function(name, method) {
|
||||
bindings[name] = method;
|
||||
};
|
||||
|
||||
/**
|
||||
* Bind static methods for exports.
|
||||
|
Loading…
x
Reference in New Issue
Block a user