From 891ca928c2c05871f7f6b00fa5fe031846554edd Mon Sep 17 00:00:00 2001 From: Eric Dunsworth <1907279+EricDunsworth@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:08:39 -0400 Subject: [PATCH] =?UTF-8?q?Clipboard=20plugin=20(m=C3=A9li-m=C3=A9lo):=20R?= =?UTF-8?q?estore=20space=20indents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #2411 accidentally-introduced tab indents into the plugin's JS file. It was caused by a clash of EditorConfig settings (which apply GCWeb's basic linting settings to all méli-mélo files) vs ESLint (which excludes méli-mélo). The added indents adhered to the EditorConfig settings, but the file itself was using a different kind of indent style (groups of 4 spaces). This changes the tab characters back into spaces. --- .../2023-10-clipboard/js/clipboard.js" | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git "a/m\303\251li-m\303\251lo/2023-10-clipboard/js/clipboard.js" "b/m\303\251li-m\303\251lo/2023-10-clipboard/js/clipboard.js" index b4abb0fb4..9fe8ffc44 100644 --- "a/m\303\251li-m\303\251lo/2023-10-clipboard/js/clipboard.js" +++ "b/m\303\251li-m\303\251lo/2023-10-clipboard/js/clipboard.js" @@ -358,18 +358,18 @@ if ( "noButton" in data === false ) { buttonId = wb.getId(); switch ( data.btnAlign ) { - case "left": - btnAlign = "text-left "; - break; - case "right": - btnAlign = "text-right "; - break; - case "center": - btnAlign = "text-center "; - break; - case "none": - default: - btnAlign = ""; + case "left": + btnAlign = "text-left "; + break; + case "right": + btnAlign = "text-right "; + break; + case "center": + btnAlign = "text-center "; + break; + case "none": + default: + btnAlign = ""; } if ( getDisplayType( elm ) === true ) { containTag = "span";