Skip to content

Commit

Permalink
Opt-out of linter warning for embed html
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Jul 21, 2023
1 parent a031965 commit 30ec6eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Block/MediaFullWidth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const imgSrc = computed(() => {
<BaseFrame v-if="block" aspect="16-9" variant="frosted" color="white">
<BaseVideo v-if="block.type === 'video' && block.video" :url="block.video.url!" />
<img v-else-if="block.type === 'image' && block.image" :src="imgSrc!" :alt="block.image.title" />
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-else-if="block.type === 'embed' && block.embed" v-html="block.embed" />
</BaseFrame>
</template>
Expand Down

0 comments on commit 30ec6eb

Please sign in to comment.