From fec033734d44ca91b2508457275a7ef76fcd9adc Mon Sep 17 00:00:00 2001 From: Jonathan Date: Sun, 22 May 2022 12:32:00 +0200 Subject: [PATCH] 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. --- src/js/easymde.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/js/easymde.js b/src/js/easymde.js index 71fda79..4ff14a2 100644 --- a/src/js/easymde.js +++ b/src/js/easymde.js @@ -232,7 +232,6 @@ function createToolbarButton(options, enableActions, enableTooltips, shortcuts, } } - el.className = options.name; el.setAttribute('type', markup); enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;