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 = '