Browse Source

Merge branch 'hotfix/2.5.1'

Jeroen Akkerman 2 months ago
parent
commit
9c779bf85c
6 changed files with 7 additions and 6 deletions
  1. 1
    0
      README.md
  2. 1
    1
      dist/easymde.min.css
  3. 2
    2
      dist/easymde.min.js
  4. 1
    1
      package-lock.json
  5. 1
    1
      package.json
  6. 1
    1
      src/js/easymde.js

+ 1
- 0
README.md View File

@@ -11,6 +11,7 @@ Changes include:
11 11
 * Support for Node 8 and beyond
12 12
 * Lots of refactored code
13 13
 * Links in preview will open in a new tab by default
14
+* Typescript support
14 15
 
15 16
 My intention is to continue development on this project, improving it and keeping it alive.
16 17
 

+ 1
- 1
dist/easymde.min.css View File

@@ -1,5 +1,5 @@
1 1
 /**
2
- * easymde v2.5.0
2
+ * easymde v2.5.1
3 3
  * Copyright Jeroen Akkerman
4 4
  * @link https://github.com/ionaru/easy-markdown-editor
5 5
  * @license MIT

+ 2
- 2
dist/easymde.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
package-lock.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
     "name": "easymde",
3
-    "version": "2.5.0",
3
+    "version": "2.5.1",
4 4
     "lockfileVersion": 1,
5 5
     "requires": true,
6 6
     "dependencies": {

+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
     "name": "easymde",
3
-    "version": "2.5.0",
3
+    "version": "2.5.1",
4 4
     "description": "A simple, beautiful, and embeddable JavaScript Markdown editor that easy to use. Features include autosaving and spell checking.",
5 5
     "keywords": [
6 6
         "embeddable",

+ 1
- 1
src/js/easymde.js View File

@@ -119,7 +119,7 @@ function createIcon(options, enableTooltips, shortcuts) {
119 119
     options = options || {};
120 120
     var el = document.createElement('button');
121 121
     el.className = options.name;
122
-    el.setAttribute('role', 'button');
122
+    el.setAttribute('type', 'button');
123 123
     enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;
124 124
 
125 125
     if (options.title && enableTooltips) {

Loading…
Cancel
Save