keystatic
keystatic copied to clipboard
MDX/Markdoc field inside a component defined inside `components` of a top level MDX/Markdoc breaks
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