diff --git a/src/vue/components/EmbedContent/EmbedContent.vue b/src/vue/components/EmbedContent/EmbedContent.vue index b2897d18..2c825d6f 100644 --- a/src/vue/components/EmbedContent/EmbedContent.vue +++ b/src/vue/components/EmbedContent/EmbedContent.vue @@ -1,5 +1,5 @@ +``` diff --git a/src/vue/components/EmbedInstagram/EmbedInstagram.vue b/src/vue/components/EmbedInstagram/EmbedInstagram.vue index ef522fda..1a6a1316 100644 --- a/src/vue/components/EmbedInstagram/EmbedInstagram.vue +++ b/src/vue/components/EmbedInstagram/EmbedInstagram.vue @@ -29,7 +29,7 @@ export default Vue.extend({ props: { content: { type: String, - default: '', + required: true, }, }, methods: { diff --git a/src/vue/components/EmbedInstagram/README.md b/src/vue/components/EmbedInstagram/README.md index 4cda0c16..03953a70 100644 --- a/src/vue/components/EmbedInstagram/README.md +++ b/src/vue/components/EmbedInstagram/README.md @@ -1 +1,31 @@ # Component for Instagram Embeds + +This component can be used to process and display Instagram (OEmbed format) content. + +> Instagram needs to run some code after embedding content into the page. For other vendors consider using the provided generic embed component [EmbedContent](../EmbedContent/README.md). + + +## Props + +| Name | Type | Required | Description | +| ------- | ------ | -------- | ----------- | +| content | string | true | HTML embed content for given vendor that usually comes from Iframely (OEmbed format) | + +## Example + +```vue + + + +```