Ich verwende den Standardtextblock und gebe eine E-Mail-Adresse im Panel in diesem Textblock ein. Wenn ich den Quelltext ansehe ist diese E-Mail-Adresse nicht maskiert/verschlüsselt. Wie kann man die Mailadresse im Textblock als maskierten/verschlüsselten E-Mail-Tag ausgeben?
Danke Roman
Edit:
I use a standard text-block and insert an e-mail-address in the panel. This e-mail-address is not encoded in the sourcecode. How can I encode an e-mail-address in a text-block?
Thanks
Emails are not encoded when added to a text block, only when used in a kirbytag. So you would have to encode it yourself in the text block snippet with string replacements.
Please note that the forum language is English, and I’d kindly ask you to post in English for further question, respecting our internation audience. Thank you.
Sorry for writing in German. I edited the post with the english text.
If I understand it right, there is no standard way to encode an e-mail-address in a standard text block, although there is a button to easily insert an e-mail-address, correct?
I now tried the markdown block. There it works with (email: test@email.com) in the markdown text and <?= $block->text()->kt() ?> in the template, but the authors need to know markdown or is it possible to have a textlike editor with B, i, list, …-buttons for the markdow block?