I’m using Kirby with a Vuejs/Nuxt setup and I’m retrieving all the data via the native API. This works great except that the textarea’s are not formatted.
I’m using endpoints like: …/pages/privacy?select=id,content
Is there any way to have the textarea’s formatted with Kirby’s kirbytext? I don’t see why you would want an unformatted textarea anyway or am I missing something?
You might find these useful…
Should be able to do it with content representations too…
Thanks everybody. The kql approach sounds nice, but unfortunately it’s still alpha. I’ll give the content representations a try. Regex doesn’t give me the line-breaks in the content