Text filters in editor fields

Phoca Download - download manager
obuisard
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 04 Apr 2017, 15:36

Text filters in editor fields

Post by obuisard »

Editor fields (like for the category description) should ideally use text filters (set in the global configuration) instead of being bound to safehtml, which reduces the numbers of html elements that can be added to the text.

I would suggest

Code: Select all

filter="safehtml"
be replaced with

Code: Select all

filter="JComponentHelper::filterText"
where editor fields are used.

It would greatly improve edition of content :-)

Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Text filters in editor fields

Post by Jan »

Hi, thank you very much for the info, I will take a look at it for the next version.

Thank you. Jan
If you find Phoca extensions useful, please support the project
Post Reply