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

Remove empty <ruby> elements #5

Open
danielpost opened this issue Jan 27, 2020 · 0 comments
Open

Remove empty <ruby> elements #5

danielpost opened this issue Jan 27, 2020 · 0 comments

Comments

@danielpost
Copy link
Contributor

Currently, when removing the annotation in the <rt> element, the <ruby> element stays active with essentially just plain text inside of it. It would be better to also remove these elements (but not the contents) when the annotation is removed.

A possible approach is to listen to editor changes and scan for <ruby> elements and check them, but we'd need to make sure this doesn't have any performance implications.

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

No branches or pull requests

1 participant