From 3c4b4c378609c2fd25f39db7826ecffe6c3d67e3 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 29 Jun 2021 11:01:10 +0200 Subject: [PATCH] MOBILE-3320 format-text: Improve missing images --- src/core/directives/format-text.ts | 9 +++++++++ src/theme/components/format-text.scss | 4 ++++ src/theme/theme.base.scss | 5 ----- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/core/directives/format-text.ts b/src/core/directives/format-text.ts index cf341587d..cfcdfa2c6 100644 --- a/src/core/directives/format-text.ts +++ b/src/core/directives/format-text.ts @@ -224,6 +224,7 @@ export class CoreFormatTextDirective implements OnChanges { const button = document.createElement('button'); button.classList.add('core-image-viewer-icon'); + button.classList.add('hidden'); button.setAttribute('aria-label', label); // Add an ion-icon item to apply the right styles, but the ion-icon component won't be executed. button.innerHTML = '