MOBILE-2527 core: Fix external-content in format-text

main
Dani Palou 2019-02-22 10:57:38 +01:00
parent 2291de34c0
commit 3b6bb84f95
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ export class CoreFormatTextDirective implements OnChanges {
extContent.component = this.component; extContent.component = this.component;
extContent.componentId = this.componentId; extContent.componentId = this.componentId;
extContent.siteId = this.siteId; 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(); extContent.ngAfterViewInit();
} }