Contentful logo

Contentful Community

How to clean text pasted into Rich Text from ie. Word?

Hi there,

I’m deploying a fresh blog build on Contentful and Gatsby to a customer, where the editors are heavy MS Word users. When they copy/paste their articles into the Rich Text-field it will bring problems in terms of line endings and/or use of marks.

Anybody facing the same problems - with some inspiration to share around the topic of cleaning text before or after pasting it to Contentful Rich Text? :slight_smile:

Best regards,
Kristian Thrane

If you want to get rid off all the formatting and paste only plain text you can do [ctrl] + [shift] + [V]. But you’ll need to format that text with rich text elements again.