From e6b531c940685834505dc80f492d357e52ac9b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=82ngela=20Coelho?= Date: Mon, 20 Nov 2023 17:59:43 +0000 Subject: [PATCH] Add name to alignment settings --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 05be257..0737ffd 100644 --- a/src/index.js +++ b/src/index.js @@ -267,6 +267,7 @@ export default class Quote { return this.settings.map(item => ({ icon: item.icon, + name: item.name, label: this.api.i18n.t(`Align ${capitalize(item.name)}`), onActivate: () => this._toggleTune(item.name), isActive: this.data.alignment === item.name,