Answer the question
In order to leave comments, you need to log in
Why doesn't Angular's innerHTML render the code in the frame and not all the markup elements?
I put this code, where the value contains the text of the whole page with frames, video, photo, text. Only text with styles is displayed, and links to YouTube in the frame and "flew" somewhere.
<div [innerHTML]="store.selectedPost['content']['rendered']"></div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question