Skip to content

Latest commit

 

History

History
84 lines (47 loc) · 3.03 KB

2018-10-01-timed-editor-choice.md

File metadata and controls

84 lines (47 loc) · 3.03 KB

Timed Text Editor Choice - draft

  • Status: accepted
  • Deciders: Pietro, James
  • Date: 2018-10-01

Context and Problem Statement

To build a timed text editor, for editing audio or video transcriptions it can be useful to use an open source text editor and add functionalities to it.

Decision Drivers

  • A simple and straight forward way to keep words and time in sync, during playback and text editing.

Considered Options

Decision Outcome

Chosen option: Draft.js, because there is previous work in this space that has explored and stressed tests this editor.

Altho Quilljs has a straight forward API, despite a quircky data model internal representation. And has been used to quickly make text based prototypes (see demo) even with multi user collaboration support through togetherjs.

It's hard to tell whether Quilljs is going to be around long term, while draft.js being core part of facebook is starting to see more of a community around it, and a growing number of plugins.

There also other more advanced features, like adding speakers label, timed text, and other non timed text in the transcription that has workarounds in Draftjs but is not immediatly obvious how it would be implemented in Quilljs.