agentejo / cockpit

Add content management functionality to any site - plug & play / headless / api-first CMS
http://getcockpit.com
MIT License
5.39k stars 523 forks source link

wysiwyg content is not changing on language switch #1332

Open nimr opened 3 years ago

nimr commented 3 years ago

Hi there,

if you make a new field of the type "set" and set a field named "body" of the type "wysiwyg" and also has set additional languages in the config, then the frontend wysiwyg text container does not switch the content when switching the language. It shows always the last changed (=saved) content. But the saved json data is correct: every language has the right content.

Here is the json config for the field:

{ "fields": [ { "type": "wysiwyg", "name": "body", "label": "Body" } ] }

pherrymason commented 3 years ago

I'm seeing the same behaviour. Might have some relation to this https://github.com/agentejo/cockpit/issues/962?