From cedbc358504120749c5a4051c2d67ed1e80065e0 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Tue, 22 Jun 2021 17:27:25 +0200 Subject: [PATCH] Adapt use of createDropdown for editor buttons --- ts/editor/FormatBlockButtons.svelte | 5 ++++- ts/editor/TemplateButtons.svelte | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ts/editor/FormatBlockButtons.svelte b/ts/editor/FormatBlockButtons.svelte index 6a0e231fd..e4e8fd80f 100644 --- a/ts/editor/FormatBlockButtons.svelte +++ b/ts/editor/FormatBlockButtons.svelte @@ -65,7 +65,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - + createDropdown(event.detail.button)} + > {@html listOptionsIcon} diff --git a/ts/editor/TemplateButtons.svelte b/ts/editor/TemplateButtons.svelte index 9de8256ba..69092c813 100644 --- a/ts/editor/TemplateButtons.svelte +++ b/ts/editor/TemplateButtons.svelte @@ -88,7 +88,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - + createDropdown(event.detail.button)} + > {@html functionIcon}