fix: Chapters: The default text in a new chapter’s text field is “segment”. Change to (e.g.): “Add Chapter Text”

This commit is contained in:
Yiannis Christodoulou 2025-10-12 21:37:29 +03:00
parent 0fccefeec6
commit fb373f3c2c
2 changed files with 2 additions and 2 deletions

View File

@ -2577,7 +2577,7 @@ const TimelineControls = ({
<div className="tooltip-chapter-editor"> <div className="tooltip-chapter-editor">
<textarea <textarea
className="tooltip-chapter-input" className="tooltip-chapter-input"
placeholder="Chapter Title" placeholder="Add Chapter Text"
value={editingChapterTitle} value={editingChapterTitle}
onChange={(e) => handleChapterTitleChange(e.target.value)} onChange={(e) => handleChapterTitleChange(e.target.value)}
onBlur={performAutoSave} onBlur={performAutoSave}

View File

@ -116,7 +116,7 @@ const useVideoChapters = () => {
const initialSegment: Segment = { const initialSegment: Segment = {
id: 1, id: 1,
chapterTitle: 'segment', chapterTitle: '',
startTime: 0, startTime: 0,
endTime: video.duration, endTime: video.duration,
}; };