Skip to content

refactor: remove Comment toolbar item from settings#110

Merged
j4rviscmd merged 2 commits intomainfrom
chore/remove-comment-setting
Mar 28, 2026
Merged

refactor: remove Comment toolbar item from settings#110
j4rviscmd merged 2 commits intomainfrom
chore/remove-comment-setting

Conversation

@j4rviscmd
Copy link
Copy Markdown
Owner

Summary

  • Remove addCommentButton from toolbar configuration labels and default config in toolbarConfig.ts
  • Remove addCommentButton icon mapping and RiChat3Line import from ToolbarOption.tsx
  • Remove addTiptapCommentButton from PASS_THROUGH_KEYS in Editor.tsx

The Comment extension is not planned for the near future, so the related settings are cleaned up to reduce UI clutter. Existing users with saved toolbar configs containing addCommentButton will have it automatically dropped by validateToolbarConfig.

Test plan

  • Open Settings > Formatting Toolbar and verify "Comment" item is absent
  • Verify formatting toolbar renders correctly without Comment buttons
  • Verify existing saved toolbar configs are migrated (Comment entry dropped)

🤖 Generated with Claude Code

j4rviscmd and others added 2 commits March 28, 2026 22:16
Remove addCommentButton from toolbar configuration (labels, default
config, icon mapping) and addTiptapCommentButton from pass-through
keys since Comment extension is not planned for the near future.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@j4rviscmd j4rviscmd merged commit e5dfdae into main Mar 28, 2026
2 checks passed
@j4rviscmd j4rviscmd deleted the chore/remove-comment-setting branch March 28, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant