Upgrade TinaCMS to add highlight support in the rich text editor#2553
Merged
Freego1783 merged 9 commits intomainfrom Mar 27, 2026
Merged
Upgrade TinaCMS to add highlight support in the rich text editor#2553Freego1783 merged 9 commits intomainfrom
Freego1783 merged 9 commits intomainfrom
Conversation
Member
Author
|
/deploy |
Contributor
PR Preview Deployed
This preview will be automatically deleted when the PR is closed. |
Freego1783
approved these changes
Mar 27, 2026
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.
Description
✏️
Relates to #2467
This pull request removes the custom
useMarkHighlighthook and its usage throughout the codebase, likely in favor of a new or built-in highlighting approach. It also updates dependencies for TinaCMS and adds a "highlight" option to the TinaCMS toolbar configuration.Removal of custom highlight logic:
useMarkHighlighthook and all related imports and invocations fromTinaCategoryWrapper.tsx,TinaRuleWrapper.tsx,emailEmbed.tsx, andrule-list-item.tsx, simplifying these components and removing custom highlight processing. (app/[filename]/TinaCategoryWrapper.tsxL5-L6, app/[filename]/TinaCategoryWrapper.tsxL26-L28, app/[filename]/TinaRuleWrapper.tsxL3-L5, app/[filename]/TinaRuleWrapper.tsxL20-R19, [1] [2] [3] [4] [5]Dependency updates:
@tinacms/clifrom version 2.1.8 to 2.2.0 andtinacmsfrom 3.5.0 to 3.7.0 inpackage.json, ensuring compatibility with newer TinaCMS features. [1] [2]TinaCMS toolbar enhancements:
toolbarFieldsarray intoolbarFields.ts, enabling highlight functionality directly in the TinaCMS editor. [1] [2]Screenshot (optional)
✏️
