DieSchittigs / contao-content-api-bundle

Contao JSON-API
MIT License
41 stars 9 forks source link

Feature Request: Provide TL_WRAPPERS information #17

Open delude88 opened 4 years ago

delude88 commented 4 years ago

I'm currently using the Contao Content API to connect React / Next.js with Contao. Currently I'm stuck on realizing wrapper elements, since no additional information about the wrapper state is delivered through the cte response. So it would be nice to have the TL_WRAPPERS information (start, stop, etc.) regarding each cte inside the page response.

It may be possible by customizing the request using the provided hook, but this information might be common for many use cases.