The lexical response seems to have trouble with some characters, copy pasting the string
vóórto the editor results in
vóórin the result. Is there a solution to this?
Lexical weird characters in response
In the editor:
Raw result from Local API (excerpt):
{
"root":{
"children":[
{
"children":[
{
"detail":0,
"format":0,
"mode":"normal",
"style":"",
"text":"vóór één",
"type":"text",
"version":1
}
]
}
]
}
}Doesn't look like it
I get:
root
└ (1) heading
> └ (47) text "vóór één"Cool, we can rule out it being a lexical bug.
Maybe a Local API issue only?
I'm using a normal
findwith pagination disabled
Field is this
{
name: "content",
type: "richText",
required: true,
label: "Tekst",
},I'm using the SQLite adapter
Maybe SQLite is not handling UTF-8 correctly
Could you please add the
TreeViewFeatureto your lexical editor config, this is a debug box that will show us what is in the lexical data immediately after pasting.
Seems to show up normally
Result is:
Monteer die tot één geheel en stuur je filmpje vóór woensdag...Well, give me a minute, it may be on my HTML display side
It seems Astro is not serving my HTML
raweven though the docs state so.
Everything is fine in the console logs, so I'll ask them further about it.
Thank you for looking at it anyways
No worries! Good luck
Love the active help here!
Star
Discord
online
Get dedicated engineering support directly from the Payload team.