abcjs icon indicating copy to clipboard operation
abcjs copied to clipboard

How to click lyrics and update them

Open lihongyao opened this issue 1 year ago • 1 comments

I anticipate that upon clicking a note, the note can be updated via the piano keyboard. Simultaneously, when selecting the lyrics, a pop-up box should also allow for updating of the current lyrics. What actions should be implemented within the clickListener event function?

lihongyao avatar Feb 28 '24 06:02 lihongyao

There isn't a visual editor but a number of people have done some work on that. I'm not sure where to point you for that, though.

If you look at this demo: https://paulrosen.github.io/abcjs/examples/dragging.html you'll see the general idea that I would do. You have the start and end characters for the clicked note and you can replace that substring with the new note and re-render.

paulrosen avatar Apr 10 '24 16:04 paulrosen