Rich Text Field not showing preview on Content Manager

System Information
  • Strapi Version: 3.6.5
  • Operating System: Mac OS
  • Database: sqlite
  • Node Version: 14.3.0
  • NPM Version: 6.14.5

Hello,

I am having some problems with the Content Manager. All my single-types with Rich Text entries are not showing a preview of their contents.

The data is on the database and my frontend application is showing it with no problem, but the content manager is struggling to show me the preview.

For some reason collection-types with rich text entries are working just fine and showing the rich text fields.

Lets take my “Home” component as an example. When I click on it from the left side menu I can see 2 fetch requests in the Network menu of my browser. One fails and one goes through

Here is the first failed request that has no response as cURL:

curl 'http://localhost:5005/content-manager/single-types/application::home.home?' \
  -H 'sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"' \
  -H 'Authorization: Bearer ****' \
  -H 'Referer: http://localhost:5005/admin/plugins/content-manager/singleType/application::home.home' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36' \
  -H 'Content-Type: application/json' \
  --compressed

And here the one that works with its right response:

curl 'http://localhost:5005/content-manager/single-types/application::home.home?' \
  -H 'Connection: keep-alive' \
  -H 'sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"' \
  -H 'Authorization: Bearer ****' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36' \
  -H 'Content-Type: application/json' \
  -H 'Accept: */*' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Referer: http://localhost:5005/admin/plugins/content-manager/singleType/application::home.home' \
  -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
  -H 'Cookie: mongo-express=**** \
  --compressed

And the response:

{"id":1,"News":"<p>&lt;h2&gt;&lt;strong&gt;Hallo liebe Kolleginnen und Kollegen,&lt;/strong&gt;&lt;/h2&gt;&lt;p&gt;...</p>","created_by":{},"updated_by":{"id":1,"firstname":"***","lastname":"***","username":"development","email":"***","resetPasswordToken":null,"registrationToken":null,"isActive":true,"blocked":null,"preferedLanguage":null},"created_at":"2020-06-07T22:18:24.868Z","updated_at":"2021-07-02T08:24:04.181Z"}

However, even though the response contains the desired “News” entry, it is not showed on the content manager:

To make things weirder, the save button does not work if I write in the text field the contents that it should display and if I change only one letter I can save it. So the application knows what the contents are, but it just won’t display them.

Any idea how to solve this issue? I am using the latest version of strapi. I upgraded because I needed a new feature, but ever since then I have been having this problem.

I am having the exact same issue. Did you ever find a working solution?

e: deleting my plugin and installting this worked: GitHub - Roslovets-Inc/strapi-plugin-ckeditor5: Replace Strapi default WYSIWYG editor with enhanced build