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

ReadTheDocs default EventListeners prevent contenteditable tags from behaving properly #12018

Open
samgaudet opened this issue Feb 23, 2025 · 0 comments

Comments

@samgaudet
Copy link

Details

Expected Result

When using contenteditable tags in my documentation, I expect keyboard inputs to be available to a user on my site.

Actual Result

Given ReadTheDocs makes use of several EventListeners for hotkeys, the letter d does not work as expected as a user input in a contenteditable tag.

This has resulted in buggy behavior in a MkDocs plugin I am working on, as documented in the issue here: samgaudet/mkdocs-madlibs#4 (comment)

Reproduce the issue

To reproduce the issue, navigate here, click the editable NAME field, and try to type a name that includes the letter d.

Solution ideation

As far as I have been able to tell, there is not easy way to toggle the EventListener off or remove it for my documentation site. Perhaps one solution may be to allow for easier configuration of EventListeners and/or hotkeys from within a Read the Docs project's configuration/settings?

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

1 participant