react-transcript-editor
react-transcript-editor copied to clipboard
UI export option for various file formats
Is your feature request related to a problem? Please describe.
At the moment the parent app needs to use the TranscriptEditor interface to implement export functionality such as text file, word document (https://github.com/bbc/react-transcript-editor/pull/125) etc... (see demo app as example) or the user needs to select text in the TimedTextEditor and copy and paste elsewhere.
Describe the solution you'd like
I still think the app interface needs to expose this functionality to the parent component, for flexibility of integration.
However it be good if the user could also export some file formats from the exporters adapters directly from the component. eg text, word but not draftJs json etc..
And there could be a number of modular ways to achieve this.
Describe alternatives you've considered
Keeping it as it is.
Additional context
Currently UI/UX looks likes this

Could add a download/export icon next to the settings and keyboard shortcut one

and a modal (?) to give some options around file type to export as well as some preferences around presence of time-codes and speaker labels

addressed as first pass in PR https://github.com/bbc/react-transcript-editor/pull/175 in https://github.com/bbc/react-transcript-editor/pull/175/commits/a176e54f852864651106b252c14cc5faf41d6377

see current demo
could be more sleek, but closing this as implemented as first pass, can be re-opened if it gets revisited.