Skip to content

Conversation

@Aslam97
Copy link
Member

@Aslam97 Aslam97 commented Nov 14, 2025

  • Removed formattedName
  • Added complete documentation for shouldShowButton() utility

@vercel
Copy link

vercel bot commented Nov 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
tiptap-docs Ready Ready Preview Comment Nov 14, 2025 3:06am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the mark button component documentation by removing the deprecated formattedName return value from the useMark hook and adding comprehensive documentation for the shouldShowButton() utility function.

Key changes:

  • Removed all references to formattedName from hook usage examples and return value tables
  • Added complete parameter and return type documentation for all utility functions (canToggleMark, toggleMark, isMarkActive, getFormattedMarkName, shouldShowButton)
  • Updated import order for consistency

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/content/ui-components/components/mark-button.mdx Updated hook examples to remove formattedName, added structured documentation for utility functions with parameters and return types, and reorganized imports
.changeset/real-eyes-look.md Changeset documenting the removal of formattedName and addition of shouldShowButton() documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants