LeaVerou / rety

Record typing on one or more editors and replay it at will, to simulate live coding

Home Page:https://rety.verou.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recorder does not properly record inserting text with drag & drop

LeaVerou opened this issue · comments

It does add a {"type":"insertFromDrop"} action, but no text.

Pretty low priority, since who inserts text from drop?

For my use-case adding this would be helpful. Also a distinction between "keyboard input" insertText and copy-paste insertText, which are as mentioned in the docs now grouped together.

I could try to create a PR for both (distinguish copy/paste, dropped in text). Would there be a preferred way to implement? I was considering adding a property to the insertText event for this, that lists the "inputType". If you can let me know what you had in mind for this, I can try to implement it.

Thank you for a refreshing library!