{"id":36832123,"url":"https://github.com/defensestation/blocknote-comments","last_synced_at":"2026-01-12T14:14:44.192Z","repository":{"id":233163878,"uuid":"786198265","full_name":"defensestation/blocknote-comments","owner":"defensestation","description":"comments plugin for blocknote","archived":false,"fork":false,"pushed_at":"2025-10-01T21:35:18.000Z","size":9299,"stargazers_count":31,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T23:27:54.461Z","etag":null,"topics":["blocknote","comments","plugin","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defensestation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-13T18:03:03.000Z","updated_at":"2025-10-01T21:34:29.000Z","dependencies_parsed_at":"2024-09-13T15:03:33.215Z","dependency_job_id":"99ca0b75-6642-4e91-b385-141f9ef96b80","html_url":"https://github.com/defensestation/blocknote-comments","commit_stats":null,"previous_names":["defensestation/blocknote-comments"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/defensestation/blocknote-comments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defensestation%2Fblocknote-comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defensestation%2Fblocknote-comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defensestation%2Fblocknote-comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defensestation%2Fblocknote-comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defensestation","download_url":"https://codeload.github.com/defensestation/blocknote-comments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defensestation%2Fblocknote-comments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blocknote","comments","plugin","typescript"],"created_at":"2026-01-12T14:14:40.847Z","updated_at":"2026-01-12T14:14:44.183Z","avatar_url":"https://github.com/defensestation.png","language":"TypeScript","readme":"# Comments for Blocknote\n\n![Stability Badge](https://img.shields.io/badge/stability-stable-green.svg)\n![](https://badgen.net/badge/Version/v1.0.0/blue)\n\nComments feature for [Blocknote](https://www.blocknotejs.org/).\n\n![](assets/demo.gif)\n\n## Demo\n\n[A demo is worth a thousand words](https://codesandbox.io/p/devbox/blocknote-comments-lz4gx5?file=%2Fsrc%2FApp.jsx%3A34%2C1\u0026layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522cluyewi7c00062v6dqech58cz%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522cluyewi7c00022v6d4qwortlg%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522cluyewi7c00042v6dd287nj1z%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522cluyewi7c00052v6dkb38pfsu%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522cluyewi7c00022v6d4qwortlg%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522cluyewi7b00012v6duuh2vkau%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fpackage.json%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522id%2522%253A%2522cluyh3xfd00022v6do1i224ep%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A34%252C%2522startColumn%2522%253A1%252C%2522endLineNumber%2522%253A34%252C%2522endColumn%2522%253A1%257D%255D%252C%2522filepath%2522%253A%2522%252Fsrc%252FApp.jsx%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522cluyewi7c00022v6d4qwortlg%2522%252C%2522activeTabId%2522%253A%2522cluyh3xfd00022v6do1i224ep%2522%257D%252C%2522cluyewi7c00052v6dkb38pfsu%2522%253A%257B%2522id%2522%253A%2522cluyewi7c00052v6dkb38pfsu%2522%252C%2522activeTabId%2522%253A%2522cluyexn4w006r2v6dxco0yzw1%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522Development%2522%252C%2522port%2522%253A5173%252C%2522id%2522%253A%2522cluyexn4w006r2v6dxco0yzw1%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%257D%252C%2522cluyewi7c00042v6dd287nj1z%2522%253A%257B%2522id%2522%253A%2522cluyewi7c00042v6dd287nj1z%2522%252C%2522activeTabId%2522%253A%2522cluyexk2w005n2v6d50c7xnru%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522cluyewi7c00032v6d7442entb%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TERMINAL%2522%252C%2522shellId%2522%253A%2522cluyewj1k000rd9f85w2k2crf%2522%257D%252C%257B%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522Development%2522%252C%2522id%2522%253A%2522cluyexk2w005n2v6d50c7xnru%2522%252C%2522mode%2522%253A%2522permanent%2522%257D%255D%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D)\n\n## Installation\n\n### Install via YARN\n\nGet the package\n\n```shell\n$ yarn add @defensestation/blocknote-comments\n```\n\n\n\n## Usage\n\nInclude module at your application\n\n```javascript\nimport {\n  commentStyleSpec,\n  CommentToolbarController,\n  CreateCommentButton,\n} from \"@defensestation/blocknote-comments\";\n```\n\nCreate schema with comment style spec.\n```javascript\nconst schema = BlockNoteSchema.create({\n  styleSpecs: {\n    // Adds all default styles.\n    ...defaultStyleSpecs,\n    comment: commentStyleSpec,\n  },\n});\n```\n\nAdd comment button in toolbar.\n```javascript\nconst CustomToolbar = () =\u003e (\u003cFormattingToolbarController\n          formattingToolbar={() =\u003e (\n            \u003cFormattingToolbar\u003e\n              \u003cCreateCommentButton key={\"createCommentButtin\"} /\u003e\n            \u003c/FormattingToolbar\u003e\n          )}\n        /\u003e)\n```\n\nAdd comment controller.\n```javascript\n\u003cBlockNoteView formattingToolbar={false} editor={editor}\u003e\n    \u003cCustomToolbar /\u003e\n    \u003cCommentToolbarController /\u003e\n\u003c/BlockNoteView\u003e\n```\n\n\n\n","funding_links":[],"categories":["Tools"],"sub_categories":["Plugins"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefensestation%2Fblocknote-comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefensestation%2Fblocknote-comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefensestation%2Fblocknote-comments/lists"}