Comments are invisible when made on `code` (not code blocks)

Open
#3,084 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
react, typescript
Domain
frontend, web-dev

Research direction

Reproduce the issue in Firefox using the BlockNote demo at https://www.blocknotejs.org/demo#hofiz, applying a comment to text formatted as inline code. Trace the editor's comment highlighting behavior for inline code and verify that the related text is visibly highlighted and locatable after the fix.

Written by the indexing model from the issue text.

Description

needs-triage
What’s broken?

I made a comment on a piece of text formatted as code
Couldn't retrieve it because there was no highlight.
I only found it in the side panel. But couldn't see where the comment was made bcse no highlight.

What did you expect to happen?

There should be higlight on code

Steps to reproduce

Comment a text using code formatting see no highlight

BlockNote version

https://www.blocknotejs.org/demo#hofiz

Environment

Firefox

Additional context

No response

Contribution
  • I'd be interested in contributing a fix for this issue
Sponsor
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Dominant language
TypeScript
Stars
10.2k
Forks
772
Avg merge
3d 11h
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TypeCellOS/BlockNote

All issues in TypeCellOS/BlockNote

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.