Rich text transformation improvement #29463
Labels
CO
Category: Core
Developer Feature
Developer-oriented feature
Feature
Type: New Feature
Needs Specs
Status: issue needs to be specified
Prerequisites
Is your feature request related to a problem?
A developer feature.
In front ProductController, there is following code you can see below. It deals with transforming a description that comes from backoffice. It alters images a bit in product descriptions and sets some classes for responsivity to them.
I think:
Describe the solution you'd like
filterHtmlContent
hook in ObjectPresenter that deals with transforming all HTML fields. This is a hook where theme modules can hook into and do their job - transform the HTML coming from BO to FO in whatever way they like.Alternatives you've considered
No response
Additional context
Ping @PrestaShop/prestashop-maintainers for specifications.
Do you plan to work on this feature?
The text was updated successfully, but these errors were encountered: