I often use image wrapping in Blog posts. But now I’m starting to play with RichContent on what we normally might consider static pages, because the layout is so much better with RichContent. It’s easy enough to set up a CMS with a title and a RichContent field and then use the RichContent display widget and a DataSet to post that to a (now dynamic) page.
However, I do not see the option to wrap text around an image in the little Rich Content editor in CMS. Is it there and I’m just not seeing it?
My work-around is to create a blog post, export the post CMS entry to a CSV file, copy the RichContent field into a new CSV, and import that into my RichContent CMS. It works. It looks great. But several steps that I will never be able to teach the other admins on our site.
@dthompson55 just curious. You said you “export the post CMS entry to a CSV file”. I don’t see any way to do this in the Wix Blog UI. Do you do it through the REST API or any other mean?
From the WIX editor, when you go into view a CMS collection, up at the top there’s a More Actions dropdown. From there you can export the CMS collection, or parts of it if you’re using a filtered view, to a CSV file.
Thanks. I’m used to exporting CMS collections to CSV but you mentioned “post CMS” so I assumed you found a way to export blog content to CSV (not a classic collection but the blog posts part of Wix Blog)
Yes, I export Blog content the same way. It’s just a little hard to find the Blog CMS, but it is there.
The blog content is in a CMS just like any other content. You can get the rich content as well as the plain text, and a number of other fields out of it. If you were clever you could figure out the rich content format and manipulate it, then reimport it.
Thanks. That’s what I’m working on. I just can’t figure out where the blog CMS UI is to export to CSV and feel like I have to go through the API to retrieve the blog posts… This richContent node structure is hard to work with.
The Rich Content structure is undocumented, but in at its simplest it’s pretty straight forward. It’s in JSON format. Each paragraph starts with a PARAGRAPH structure. Each paragraph contains zero or more text elements. And all if paragraphs have to be wrapped in {nodes:[…]}. Where the … represents comma separated paragraphs.
I know a little programming, so I just copied the first paragraph structures as a template, and then I copy/paste the text I want to put into it. I repeat that for all of the paragraphs I want to write out. Then I put the wrapper around it and save it back to a CMS.
Here’s an example where I rip through all of our church’s Sunday service announcements and create a copyright report: (you might have to scroll to the bottom of the page to see it)