Hello there,
we are using the
https://github.com/thompsonsj/slate-serializersto serialize Slate JSON to Html.
But unfortunately, it breaks accented characters, such as "č" and "š".
Has anyone dealt with this before and would be able to point us towards a fix?
It basically turns this:
[{"children":[{"text":"Co je AestheFill®?"}]},{"children":[{"text":"AestheFill je bezpečné plnivo s tvorbou kolagenu a dlouhotrvajícím účinkem. Používá se k obnovení objemu obličeje na dobu 24 měsíců."}]},{"children":[{"text":""}]}]
into this:
Co je AestheFill®?AestheFill je bezpečné plnivo s tvorbou kolagenu a dlouhotrvajícím účinkem. Používá se k obnovení objemu obličeje na dobu 24 měsíců.
We solved this by just implementing the serialization example from Payload docs (
https://payloadcms.com/docs/fields/rich-text).
Hey @hobyte ! On it. I see the issue at
https://github.com/thompsonsj/slate-serializers/issues/105and I'll address it there 👍
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.