Preview of kirbytext in blocks

Hi, does anyone knows how to display the preview of Kirbytext (textarea field) formated?
Has anyone accomplished that?


banner: {
      computed: {
        text() {
          return this.content.text;
      template: `
          <div class="k-block-type-banner-text">{{ text }}</div>

This will return plain text from input, unformated.

You need a route that returns the parsed text

1 Like

Thank you, but are there maybe some examples anywhere? In the docs, or forum, or anywhere?

Already added a link above

1 Like

Ah, thanks! :muscle:

Very tricky, but @texnixe solution works for me. Thanks!