Skip to content

Odd behavior when clicking/tapping on parts of code block #54

@Nova38

Description

@Nova38
  • The Plugin is up to date
  • Obsidian is up to date

Describe the bug
When in edit or read mode I tap or click on parts of the code block the styling is removed and the text changes to just being black. On dark mode it appears to disappear, but in light mode it is evident that it is just removing the styling and making the text black

To Reproduce
Steps to reproduce the behavior:

  1. Make a code block
  2. Tap on parts of the highlighted code.
  3. See error

Expected behavior
Text should remain highlighted.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot_20250524_120511_Obsidian.jpg

Screenshot_20250524_120518_Obsidian.jpg

Occurs on

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Plugin version
0.5

Additional context

I am using the default theme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions