mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-02 15:44:28 -06:00
Added role="button" to toolbar buttons, closes #38
This commit is contained in:
parent
75cfd34191
commit
b31c0a1a02
2
dist/easymde.min.js
vendored
2
dist/easymde.min.js
vendored
File diff suppressed because one or more lines are too long
@ -119,6 +119,7 @@ function createIcon(options, enableTooltips, shortcuts) {
|
||||
options = options || {};
|
||||
var el = document.createElement('button');
|
||||
el.className = options.name;
|
||||
el.setAttribute('role', 'button');
|
||||
enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;
|
||||
|
||||
if (options.title && enableTooltips) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user