mProjectsCode / mProjectsCode/obsidian-shiki-plugin
Odd behavior when clicking/tapping on parts of code block
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
- 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:
- Make a code block
- Tap on parts of the highlighted code.
- See error
Expected behavior
Text should remain highlighted.
Screenshots
If applicable, add screenshots to help explain your problem.
Occurs on
- Windows
- macOS
- Linux
- Android
- iOS
Plugin version
0.5
Additional context
I am using the default theme.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in edit and read mode on Windows or Android with the default theme, tapping highlighted code blocks. Trace the code-block styling and click handling entry points, then verify that selecting or tapping code no longer removes its highlighting in both light and dark modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100