mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-23 18:04:28 -06:00
Adjust whitespace characters
This commit is contained in:
parent
f21cca3068
commit
7187fb26fb
@ -1697,7 +1697,7 @@ SimpleMDE.prototype.createToolbar = function(items) {
|
|||||||
if(item.action) {
|
if(item.action) {
|
||||||
if(typeof item.action === "function") {
|
if(typeof item.action === "function") {
|
||||||
el.onclick = function(e) {
|
el.onclick = function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
item.action(self);
|
item.action(self);
|
||||||
};
|
};
|
||||||
} else if(typeof item.action === "string") {
|
} else if(typeof item.action === "string") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user