From 3b6bb84f95ee6dff1b6b4b76d7132b1ada661b22 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Fri, 22 Feb 2019 10:57:38 +0100 Subject: [PATCH] MOBILE-2527 core: Fix external-content in format-text --- src/directives/format-text.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/directives/format-text.ts b/src/directives/format-text.ts index 08b4876e8..d840c8a84 100644 --- a/src/directives/format-text.ts +++ b/src/directives/format-text.ts @@ -98,6 +98,10 @@ export class CoreFormatTextDirective implements OnChanges { extContent.component = this.component; extContent.componentId = this.componentId; extContent.siteId = this.siteId; + extContent.src = element.getAttribute('src'); + extContent.href = element.getAttribute('href'); + extContent.targetSrc = element.getAttribute('target-src'); + extContent.poster = element.getAttribute('poster'); extContent.ngAfterViewInit(); }