mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-09-24 16:40:55 -06:00
Remove class name from buttons
The class names collide with built-in classes such as the "table" class in Bootstrap. This results in the buttons inheriting the style from Bootstrap (or other frameworks) that define classes with those names.
This commit is contained in:
parent
45e0f36685
commit
fec033734d
@ -232,7 +232,6 @@ function createToolbarButton(options, enableActions, enableTooltips, shortcuts,
|
||||
}
|
||||
}
|
||||
|
||||
el.className = options.name;
|
||||
el.setAttribute('type', markup);
|
||||
enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user