feat(comments): add ability to deny a user to view a comment #1994#1995
Open
nperez0111 wants to merge 4 commits intomainfrom
Open
feat(comments): add ability to deny a user to view a comment #1994#1995nperez0111 wants to merge 4 commits intomainfrom
nperez0111 wants to merge 4 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@blocknote/ariakit
@blocknote/code-block
@blocknote/core
@blocknote/mantine
@blocknote/react
@blocknote/server-util
@blocknote/shadcn
@blocknote/xl-ai
@blocknote/xl-docx-exporter
@blocknote/xl-email-exporter
@blocknote/xl-multi-column
@blocknote/xl-odt-exporter
@blocknote/xl-pdf-exporter
commit: |
Collaborator
|
To add to this, could we e.g. add some CSS styles that make the comment highlight also invisible when the user isn't authenticated? Maybe add a HTML attribute to the editor or smth along those lines. |
Contributor
Author
|
I like the html attribute, unsure on what the styles would be (dimmed or hidden?). Would be a good add here @matthewlipski |
Collaborator
|
I think just fully hidden/transparent, not really a point having them visible if the comments themselves aren't either imo |
matthewlipski
approved these changes
Oct 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces the ability to deny the user from viewing the comment information, the comment is still within the document, so this is not totally secure, just hides it from being viewable.
Screen.Recording.2025-09-10.at.16.14.22.mov