Skip to content

fix(text-markdown): serialize inline comment marks#19

Open
dearlordylord wants to merge 1 commit into
hcengineering:mainfrom
dearlordylord:fix/markdown-inline-comment-mark
Open

fix(text-markdown): serialize inline comment marks#19
dearlordylord wants to merge 1 commit into
hcengineering:mainfrom
dearlordylord:fix/markdown-inline-comment-mark

Conversation

@dearlordylord

@dearlordylord dearlordylord commented May 28, 2026

Copy link
Copy Markdown

Summary

Fix markdown serialization for Huly inline-comment marks by preserving the marked text and omitting the editor-only comment metadata.

This is intentionally not isomorphic: markdown has no native representation for Huly inline comment thread metadata, and other markdown conversions in this package are already semantic/lossy rather than exact markup JSON round-trips.

The issue is introduced in dependent packages around https://github.com/hcengineering/platform/blob/2158661df5cca7e7ff43fe06d2438a20b6cbce98/plugins/text-editor-resources/src/components/extension/inlineComment.ts#L826-L828 - so it seems text-markdown was added in other parts of the system but not in .core

likely fixes hcengineering/platform#9314

prompted by dearlordylord/huly-mcp#71 user problem in the MCP. It's likely cleaner to be solved upstream (here)

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.

Github integration markdown issues

1 participant