mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-05-24 17:42:25 +02: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…
Reference in a new issue