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.
pull/465/head
Jonathan 2 years ago committed by GitHub
parent 45e0f36685
commit fec033734d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -232,7 +232,6 @@ function createToolbarButton(options, enableActions, enableTooltips, shortcuts,
}
}
el.className = options.name;
el.setAttribute('type', markup);
enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;

Loading…
Cancel
Save