mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-08-12 11:42:44 -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