Open levimykel opened 7 years ago
When parsing the fragments of a document link, if the fetchLinks parameter was used on a StructuredText field, it does not properly initialize the field and will log something like the following in the console:
"Fragment type not supported: paragraph"
https://github.com/prismicio/javascript-kit/blob/master/lib/fragments.js#L1180
It also means that getStructuredText, getText, or get don't work when trying to implement this into a template.
When parsing the fragments of a document link, if the fetchLinks parameter was used on a StructuredText field, it does not properly initialize the field and will log something like the following in the console:
"Fragment type not supported: paragraph"
https://github.com/prismicio/javascript-kit/blob/master/lib/fragments.js#L1180