Open Toflar opened 3 years ago
A possible solution might be to allow https://github.com/madeyourday/contao-rocksolid-frontend-helper/blob/6609546d37407e75f21e2bb8550d94d74fc403e9/src/FrontendHooks.php#L891 to add a wrapper <div>
or <span>
in such cases.
But this needs to be limited to elements with toolbars (not for templates) and we should check if this needs to be an option that can be deactivated.
If you have e.g. an HTML element that contains only of
{{insert.....}}<br>
, the helper will add its required data attribute information to the<br>
.There are two issues with it
<br>
has no width so there won't be any helper handle