You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix: cleanup and renaming
* Task: Add consistent style for buttons and inputs, tidy up
* Task: Added margins and central alignment for mobile, general cleanup and colours
* Fix: file upload for user transcripts
* Fix: alignment after demo load
* Task: highlight demo button
* Fix: Columns
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,11 +62,11 @@ import TranscriptEditor from '@bbc/react-transcript-editor';
62
62
```js
63
63
<TranscriptEditor
64
64
transcriptData=// Transcript json
65
-
mediaUrl=// string url to media file - audio or video
65
+
mediaUrl=// string url to media file - audio or video
66
66
isEditable={true}// set to true if you want to be able to edit the text
67
67
sttJsonType={ 'bbckaldi' } // the type of STT Json transcript supported.
68
68
handleAnalyticsEvents={ this.handleAnalyticsEvents } // optional - if you want to collect analytics events.
69
-
fileName=// optional - used for saving and retrieving local storage blob files
69
+
fileName=// optional - used for saving and retrieving local storage blob files
70
70
title=// optional - defaults to ''
71
71
ref={ this.transcriptEditorRef } // optional - if you want to have access to internal functions such as retrieving content from the editor. eg to save to a server/db.
72
72
/>
@@ -86,7 +86,7 @@ import { TranscriptEditor } from "@bbc/react-transcript-editor";
86
86
87
87
#### Internal components
88
88
89
-
You can also import some of the underlying React components directly.
89
+
You can also import some of the underlying React components directly.
90
90
91
91
-`TranscriptEditor`
92
92
-`TimedTextEditor`
@@ -105,7 +105,7 @@ However if you are not using `TranscriptEditor` it is recommended to follow the
105
105
106
106
See [the storybook](https://bbc.github.io/react-transcript-editor) for each component details on optional and required attributes.
0 commit comments