+
+
+ {{ firstComment.length }}/{{ FIRST_COMMENT_MAX }}
+
+
+ {{ $t('posts.form.first_comment.hint_instagram') }}
+
+
diff --git a/resources/js/components/posts/editor/YouTubeSettings.vue b/resources/js/components/posts/editor/YouTubeSettings.vue
index 749799a0c9..3233577870 100644
--- a/resources/js/components/posts/editor/YouTubeSettings.vue
+++ b/resources/js/components/posts/editor/YouTubeSettings.vue
@@ -167,6 +167,16 @@ const descriptionServerError = metaError('description');
const hasDescriptionError = computed(
() => !!descriptionIssueKey.value || !!descriptionServerError.value,
);
+
+const FIRST_COMMENT_MAX = 2200;
+const firstCommentId = computed(
+ () => `youtube-first-comment-${props.platformIndex}`,
+);
+const firstComment = computed({
+ get: () => toNullableText(props.meta.first_comment) ?? '',
+ set: (value: string) => update({ first_comment: toNullableText(value) }),
+});
+const firstCommentError = metaError('first_comment');