Wrap elements in $this->content

Hello,
i would like to wrap every element which is contained in <?= $this->content; ?> into a custom <div>. but i am not sure on how to proceed.

You mean wrap each individual element within the content, or just wrap around all of the content? The latter is easy, the former… I can’t think of a way to do it other than actually parsing the “content” string as HTML and that’s quite a heavy road to go down.

i meant wrapping every elements

i’ll do it javascript :sweat_smile: