Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to click lyrics and update them #997

Open
LiHongyao opened this issue Feb 28, 2024 · 1 comment
Open

How to click lyrics and update them #997

LiHongyao opened this issue Feb 28, 2024 · 1 comment

Comments

@LiHongyao
Copy link

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?

@paulrosen
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants