Closed tylermcrobert closed 4 years ago
Hey @tylermcrobert I'm unable to reproduce, could you give me more information?
I also got the same issue. I tried to type text into CMS and then get content by this code:
<RichTextContainer>{RichText.render(slice.primary.content)}</RichTextContainer>;
All of the spaces turned into . Not sure you guys know about it at this moment?
Hey @vuquanghoang,
do you know which version this happens with? I will try to reproduce on my side. Is there any specific content in your rich text (videos, embeds...)?
~Hello, I got the same issue here,~
prismic-reactjs version: "1.1.1"
Render:
Data:
PS: actually, it was due to the fact that the text was wrongly formatted when I copied/pasted it inside the prismic text editor...😅
Hey @acd02, so your post-scriptum means that everything is fine on our side? I actually tried and pasted non-breaking spaces in my Rich text editor and could not reproduce your use case either 🤔
Yes, problem solved on my side :)
I actually tried and pasted non-breaking spaces in my Rich text editor and could not reproduce your use case either
weird indeed 🤔
I'm using
richText.render()
and it works perfectly, however, it renders out
as text.