Thinkmill / Thinkmill/keystatic
MDX/Markdoc field inside a component defined inside `components` of a top level MDX/Markdoc breaks
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 159
- Avg merge
- 21h 41m
- Merged PRs (30d)
- 2
Description
Reproduce: https://github.com/arihantverma/keystatic/pull/1/files
Throws this error in the code: https://github.com/Thinkmill/keystatic/blob/41679be39197a81453475fc6796489ac7d2d69cf/packages/keystatic/src/form/fields/markdoc/editor/props-serialization.ts#L53
video:
https://github.com/Thinkmill/keystatic/assets/43805922/25814df7-994a-46df-8b84-861423737ecc
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the referenced pull request, then inspect packages/keystatic/src/form/fields/markdoc/editor/props-serialization.ts at line 53. Confirm the behavior for a field inside a component defined in the components property of a top-level MDX/Markdoc document. Done means that nested field no longer throws the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100