Which buttons are available for textarea?

Hey everyone,

which buttons area available in a text-area?

  • bold
  • italic
  • e-mail
  • link

are working.i figured since tel is a kirby tag it would also be available as a button, but it seems it isn’t.
Can someone confirm this?

Thanks

Yes, that’s correct, the tel tag is not available as button.

It might be worth adding the four available buttons to the docs at:
https://getkirby.com/docs/cheatsheet/panel-fields/textarea#customizing-buttons

Maybe?

1 Like

bummer :slight_smile:

As far as I know, none of the existing alternatives to the textarea field have that button, but you could take them as examples for creating your own custom textarea field with additional buttons.

Try to extend the Kirby Enhanced textarea for instance.

The way the buttons are defined is really easy to extend:
https://github.com/medienbaecker/kirby-enhanced-textarea/blob/master/textarea/buttons.php

thanks for the starting point :thumbsup:

Hm, email and link buttons seems not to work for a textarea in a structure. (V2.5.2)

That is correct, because email and link open a modal, so that would result in modal-craziness.