Hi, I’m new to ProseMirror and I’m developing annotation tool for speech-to-text.
I have used draftjs. I use entity and decorator to store and manage metadata on each words. every single words are entities and each entity has timestamp as metadata.
example: I have a cat
" I ", " have ", " a ", " cat " are entities.
entity data of cat is like
offset: 12,
length: 5,
data: {
original_word: 'cat',
start: 4.2,
end: 4,6,
}
So when user select a word and modify the word cat into kitten, I can still get start and end timestamps.
Do you think I can develop similar thing with ProseMirror?
It’s okay for metadata to break when user delete multiple words at a time… No need to be perfect because I need to migrate to some editor library from draftjs anyway sooner or later…
Thanks in advance.