->kirbytext() in block index.js

Hi all,

is it possible to use the kirbytext formatter in the index.js file?

content.mytext->kirbyteyt();

Or is there any way to format it in computed?

thx alot

No, there is no javascript Kirbytext method. To fetch rendered HTML, you need to fetch the rendered data from a custom endpoint.