How to use $scope.trustedHtml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2022 03:20 PM
I am passing table record in html tab in portal but its not showing color so i want to use $scope.trustedHtml but its not working
<HTML>
<div class="mn-container" id='cab-mn-container'>
<div id="cab-mn-editor" ng-if="meetingNotes.canEdit()">
<textarea id="cab-mn-editor-textarea" ui-tinymce="meetingNotes.editor.config" ng-model="meetingNotes.workingCopy"></textarea>
</div>
<div id="cab-mn-readonly" class="mn-static-notes" ng-if="!meetingNotes.canEdit()" ng-bind-html="meeting.record.meeting_record.display_value" tabindex="0" focus-this="true"></div>
</div>
<CONTROLLER>
$scope.html = 'meeting.record.meeting_record.display_value';
$scope.trustedHtml = $sce.trustAsHtml($scope.html);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2022 03:51 AM
Hi,
Please refer below thread might be helpful to you
Please mark my response as correct answer or helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2022 02:25 PM
Not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2022 02:26 PM