Skip to main content

#210 textarea withl html editor

Posted in ‘NorrCompetition’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
n/a

Latest post by b2z on Monday, 05 January 2026 21:34 EET

vlada83

Hi, is it possible to use html editor in textarea field? I need to add in description text url and list style

b2z

Hi Vladimir!

Currently not possible. But you can use HTML elements in textarea field.

Kind regards,

Dmitrijs

vlada83

no it does not work, all html elements are removed when saving entry

this is problem without formating text...

b2z

Check the "Filter" setting of this field, it should be "SAFEHTML" or "Text Filters".

vlada83

sorry, after change it did not removed the html code but result is instead of working html code only visibile html code like

Realizace: <a href="https://norrnext.com/#">Dřevostavbybidlo s.r.o.</a>  

see link https://drevo.vanekdesign.com/nc-entry

if i tried to make url field, it looks like weird

better way is to have option to fill text for url, like button, continue etc... and second field form can be direct link/url

i do not want to show whole big url adresss with all subcategories in link etc...

and if i added class for url field like btb btn-primary it does not make nothing, on frontend, url adrress field has no additionall classes

i am sorry, but you need better tester for year 2026

 

 

b2z

Hello!

HTML does not work for text filed, only for textarea. So use textarea for your URL.

In the next version we will make URL field more advanced.

Kind regards,

Dmitrijs

vlada83

no your code for textarea is not converting html tags to html page, it displays raw data

only when you change code from

echo nl2br(\Joomla\CMS\HTML\HTMLHelper::_('content.prepare', $value));

to this

echo ($value));

sorry but yours tips are not helpful

 

basic text field


echo htmlentities($value);

to 


echo ($value);

b2z

Default fields code perfectly works without any modification, see https://postimg.cc/BP0FKKFd

And it is the same as in core Joomla:

joomla-cms/plugins/fields/text/tmpl/text.php at 5.4-dev · joomla/joomla-cms

joomla-cms/plugins/fields/textarea/tmpl/textarea.php at 5.4-dev · joomla/joomla-cms

I am not sure why it is not working on you webiste...

Kind regards,

Dmitrijs

Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.