mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-05-24 09:32:33 +02:00
Hotfix: change role="button"
to type="button"
* Closes issue #45 and properly fixes issue #38 * Added typescript support line to README * Bumped version to 2.5.1 * Rebuilt dist files
This commit is contained in:
parent
8c6ae58a6c
commit
20cd3e4586
|
@ -11,6 +11,7 @@ Changes include:
|
|||
* Support for Node 8 and beyond
|
||||
* Lots of refactored code
|
||||
* Links in preview will open in a new tab by default
|
||||
* Typescript support
|
||||
|
||||
My intention is to continue development on this project, improving it and keeping it alive.
|
||||
|
||||
|
|
2
dist/easymde.min.css
vendored
2
dist/easymde.min.css
vendored
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* easymde v2.5.0
|
||||
* easymde v2.5.1
|
||||
* Copyright Jeroen Akkerman
|
||||
* @link https://github.com/ionaru/easy-markdown-editor
|
||||
* @license MIT
|
||||
|
|
4
dist/easymde.min.js
vendored
4
dist/easymde.min.js
vendored
File diff suppressed because one or more lines are too long
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "easymde",
|
||||
"version": "2.5.0",
|
||||
"version": "2.5.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "easymde",
|
||||
"version": "2.5.0",
|
||||
"version": "2.5.1",
|
||||
"description": "A simple, beautiful, and embeddable JavaScript Markdown editor that easy to use. Features include autosaving and spell checking.",
|
||||
"keywords": [
|
||||
"embeddable",
|
||||
|
|
|
@ -119,7 +119,7 @@ function createIcon(options, enableTooltips, shortcuts) {
|
|||
options = options || {};
|
||||
var el = document.createElement('button');
|
||||
el.className = options.name;
|
||||
el.setAttribute('role', 'button');
|
||||
el.setAttribute('type', 'button');
|
||||
enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;
|
||||
|
||||
if (options.title && enableTooltips) {
|
||||
|
|
Loading…
Reference in a new issue