Learn how you can export custom Rich Text from Google Docs and Notion to Contentful
fields
property contains all the fields for the entry.body
property contains the value of the body
field we are interested in.en-US
property contains the value of the body
field for the en-US
language. You may see a different value (or multiple values) depending on your locale(s).content
property is an array that contains all the rich text elements. Each element will have an index, e.g. 0
, 1
, etc.@@begin_raw_content
and @@end_raw_content
processing directives.
@@begin_raw_content
directive to your document.@@end_raw_content
directive.@@begin_raw_content
and @@end_raw_content
directives as raw content and will export it to Contentful as-is. It is therefore important that the content you specify is valid JSON. If not, Contentful will prevent Cloudpress from exporting the content.
When the document in the screenshots above is exported to Contentful, it will result in the correct Rich Text content being created.