obsidian-shiki-plugin icon indicating copy to clipboard operation
obsidian-shiki-plugin copied to clipboard

Odd behavior when clicking/tapping on parts of code block

Open Nova38 opened this issue 5 months ago • 0 comments

  • [x] The Plugin is up to date
  • [x] 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

  • [x] Windows
  • [ ] macOS
  • [ ] Linux
  • [x] Android
  • [ ] iOS

Plugin version 0.5

Additional context

I am using the default theme.

Nova38 avatar May 24 '25 19:05 Nova38