Our new Community plan is here

Unleash the full power of Contentful⁠ — for free. Find out more

Working with Google Docs

Preventing extra lines between paragraphs

The RichText editor automatically adds a space between paragraphs. When you want to transfer content from Google Docs to a RichText field in Contentful, it is helpful to format paragraphs in Google Docs so that they also automatically add a space between paragraphs. Formatting paragraphs properly in Google Docs before copying and pasting them into a RichText field in Contentful will ensure that you do not have an extra line break between paragraphs.

Working with Google Docs - Extra Line Breaks

Example content with an extra line break between paragraphs

To automatically add a space between paragraphs in Google Docs:

  1. In the Google Docs Menu, go to “Format” → “Paragraph styles” → “Borders and shading”

Working with Google Docs - Settings

2. In the dialog box, enable the right most box under “Position”

3. Set “Paragraph padding” to “6 pt”

4. Click Apply.

Working with Google Docs - Paragraph Padding

After enabling these settings, the content that you create will have spaces between the paragraphs automatically and be ready to be imported into Contentful.

Was this helpful?
add-circle remove subtract-circle