Skip to content

Toggle hint is inserted into code blocks when clicking inside them #44

Closed

Description

@janssenhenning

Describe the bug

context
When a code-block is nested inside a toggle region and one clicks inside this block the toggle hint, i.e. Click to show or Click to hide is inserted into the beginning of the block

These two screenshots are form the sphinx-togglebutton read the docs page
Before clicking into the code block

Screenshot 2022-06-20 at 14 22 56

And after

Screenshot 2022-06-20 at 14 23 14

Reproduce the bug

  1. Go to https://sphinx-togglebutton.readthedocs.io/en/latest/ for example
  2. Click the first toggle button
  3. Click inside the revealed code block

List your environment

No response

Activity

  1. added
    bug
    on Jun 20, 2022
  2. welcome commented on Jun 20, 2022

    @welcome

    Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

    If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

    If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

    Welcome to the EBP community! 🎉

  3. choldgraf commented on Jul 14, 2022

    @choldgraf
    Member

    closed by #45

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions