bbc / react-transcript-editor

A React component to make correcting automated transcriptions of audio and video easier and faster. By BBC News Labs. - Work in progress

Home Page:https://bbc.github.io/react-transcript-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

edit able not work i can not edit text

dash7ou opened this issue · comments

isEditable={true} but i can not edit text in browser?!

@dash7ou did you figure it out?

no, but no one reply to me?
this is my code:-
<TranscriptEditor
transcriptData={transcribeData.versionData.text_json}
mediaUrl={${process.env.REACT_APP_S3_BACKET}/${process.env.REACT_APP_S3_ENV}${transcribeData.video}}
isEditable={true}
sttJsonType={transcribeData.versionData.text_json.hasOwnProperty("jobName") ? "amazontranscribe" : "draftjs"}
mediaType={transcribeData.mimeType}
handleAutoSaveChanges={handleAutoSaveChanges}
autoSaveContentType={"draftjs"}
/>

but edit text not work edit owner work perfect but transcript text not work.

What version of TranscriptEditor are you using?
I couldn't reproduce the issue in the storybook demo (by checking and unchecking the "Text Is Editable" option)

this is TranscriptEditor ^1.4.1-alpha.8 version I am using now

I know no problem with demo in the storybook but I add isEditable={true} I think it should work right?

Yes, correct, I think there was a problem with one of the alpha releases.
see this issue #237 and this comment #237 (comment)

@jamesdools will be able to confirm (or push an update so that the latest release is a working one?)

For now, I'd revert back to a non alpha release eg 1.4.1, if that makes sense?

ok thanks for your help and your time 3>