From 58a0354dda3263db012b71153f1fd1f3fd0e6ffa Mon Sep 17 00:00:00 2001 From: Jonas Date: Mon, 16 Sep 2024 20:17:33 +0200 Subject: [PATCH] fix(menu): change headings submenu icon to FormatSize icon Signed-off-by: Jonas --- src/components/Menu/entries.js | 3 ++- src/components/icons.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Menu/entries.js b/src/components/Menu/entries.js index ba690728da4..5d788f5fcfd 100644 --- a/src/components/Menu/entries.js +++ b/src/components/Menu/entries.js @@ -13,6 +13,7 @@ import { FormatBold, FormatItalic, FormatUnderline, + FormatSize, FormatStrikethrough, FormatHeader1, FormatHeader2, @@ -76,7 +77,7 @@ export default [ label: t('text', 'Headings'), keyChar: '1…6', keyModifiers: [MODIFIERS.Mod, MODIFIERS.Shift], - icon: FormatHeader1, + icon: FormatSize, isActive: 'heading', children: [ { diff --git a/src/components/icons.js b/src/components/icons.js index 943988e0e6b..f2c0e74e44f 100644 --- a/src/components/icons.js +++ b/src/components/icons.js @@ -18,6 +18,7 @@ import MDI_DotsHorizontal from 'vue-material-design-icons/DotsHorizontal.vue' import MDI_Emoticon from 'vue-material-design-icons/EmoticonOutline.vue' import MDI_Folder from 'vue-material-design-icons/Folder.vue' import MDI_FormatBold from 'vue-material-design-icons/FormatBold.vue' +import MDI_FormatSize from 'vue-material-design-icons/FormatSize.vue' import MDI_AlignHorizontalCenter from 'vue-material-design-icons/AlignHorizontalCenter.vue' import MDI_AlignHorizontalLeft from 'vue-material-design-icons/AlignHorizontalLeft.vue' import MDI_AlignHorizontalRight from 'vue-material-design-icons/AlignHorizontalRight.vue' @@ -103,6 +104,7 @@ export const DotsHorizontal = makeIcon(MDI_DotsHorizontal) export const Emoticon = makeIcon(MDI_Emoticon) export const Folder = makeIcon(MDI_Folder) export const FormatBold = makeIcon(MDI_FormatBold) +export const FormatSize = makeIcon(MDI_FormatSize) export const FormatHeader1 = makeIcon(MDI_FormatHeader1) export const FormatHeader2 = makeIcon(MDI_FormatHeader2) export const FormatHeader3 = makeIcon(MDI_FormatHeader3)