Textangular library uses angular-sanitize to sanitise text. I want to be able to insert iframe tags with youtube videos to support embedding videos.
How can I make angular-sanitize allow iframe tags?
Textangular library uses angular-sanitize to sanitise text. I want to be able to insert iframe tags with youtube videos to support embedding videos.
How can I make angular-sanitize allow iframe tags?
I'm not familiar with Textangular but if you don't want Angular to sanitize you can use: $sce.trustAsHtml()
TextAngular uses custom renderers to use a placeholder img while editing, then we convert it to an iFrame for display. See how to strip placeholder img in textAngular editor in scope var?. Also we have a youtube button in the toolbar.