Skip to content

Add highlight text transformation - #265

Open
wenga86 wants to merge 472 commits into
contentstack:masterfrom
shopsmart:highlight
Open

Add highlight text transformation#265
wenga86 wants to merge 472 commits into
contentstack:masterfrom
shopsmart:highlight

Conversation

@wenga86

@wenga86 wenga86 commented Apr 2, 2026

Copy link
Copy Markdown

Problem

We are using the Contentstack Highlight plugin but jsonToHTML does not know about are listen for the highlight attribute the plugin adds to TextNodes.

Plugin

Solution

  • Add highlight attribute to mark types
  • Add default node type for highlight
  • Extend textNodeToHTML to look for highlight key and render node type

sunil-lakshman and others added 30 commits January 21, 2025 13:33
* chore: Updated check branch workflow file

* chore: updated workflow file
* chore: Updated rendorOption in readme file (contentstack#123)

* chore: Added colgroup tag support (contentstack#124)

* chore: Updated check branch workflow file (contentstack#116)

* chore: Updated check branch workflow file

* chore: updated workflow file

---------

Co-authored-by: cs-raj <122264749+cs-raj@users.noreply.github.com>
* sca-scan.yml

* jira.yml

* sast-scan.yml

* codeql-analysis.yml

* Updated codeowners

---------

Co-authored-by: Aravind Kumar <aravind.kumar@contentstack.com>
…1984

feat: updateasseturlforgql method to support multiple entries
* chore: Update node version to 22

* chore: Update node version to 22
* chore: Added support of \n after just enter

* chore: Updated changelog
…ntstack#134)

* chore: Added support of \n after just enter

* chore: Updated changelog
…l-injection-fix

dx 1771 html injection fix
…setURLForGQL-enhancement

fix: update test for asset url method for gql
harshithad0703 and others added 24 commits February 2, 2026 13:25
- Add null check at the top of getTag to return empty object early,
  preventing TypeError when Object.entries receives null or undefined
  (typeof null === "object" in JS, so null slipped through the switch)
- Add test cases covering null/undefined field values, null/undefined
  entries, multiple null fields, and nested null objects (Issue contentstack#193)

Co-authored-by: Cursor <cursoragent@cursor.com>
fix: guard against null/undefined in getTag function
…alid-HTML-for-nested-lists

fix: implement logic to fold nested lists into their preceding list i…
Extend .talismanrc to skip false-positive secret scans on markdown guidance files.

Made-with: Cursor
…d-cursor-rules-skills

docs: add AGENTS.md, Cursor rules, and agent skills (DX-5367)
@wenga86
wenga86 requested a review from a team as a code owner April 2, 2026 17:02
@reeshika-h
reeshika-h requested a review from a team as a code owner August 7, 2026 13:08
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.