From 8a07d3161dcec9d411749857e44076432b192455 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Fri, 18 Jun 2021 02:02:01 +0200 Subject: [PATCH] Disable Media button for Codable, but keep wrapping and cloze key for now --- ts/editor/ClozeButton.svelte | 19 +++--- ts/editor/TemplateButtons.svelte | 99 +++++++++++++++++--------------- 2 files changed, 66 insertions(+), 52 deletions(-) diff --git a/ts/editor/ClozeButton.svelte b/ts/editor/ClozeButton.svelte index 003eb0191..b2c444257 100644 --- a/ts/editor/ClozeButton.svelte +++ b/ts/editor/ClozeButton.svelte @@ -4,9 +4,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> - - {@html bracketsIcon} - + + + {@html bracketsIcon} + + diff --git a/ts/editor/TemplateButtons.svelte b/ts/editor/TemplateButtons.svelte index 2fd298f56..79cd7f398 100644 --- a/ts/editor/TemplateButtons.svelte +++ b/ts/editor/TemplateButtons.svelte @@ -5,6 +5,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html