Closed WebReflection closed 4 years ago
Would it be too much of a hack to use a data attribute as a way to mark adoptable content inside one of these element types?
just to clarify:
thanks for the hint regardless
Moving placeholders from a template tag signature is a whole new world of mess I don't even want to think about
Haha, of course! I hadn't considered the ramifications of adopting new core logic on-top of the template tag interpretations in order to facilitate adopting content based off data attribute. Hrmmm, back to the drawing board.
As the adoption never landed, and as it's overly complicated and slow compared to solutions such as heresy, I am closing this as won't fix.
These two elements don't work well at all with adoptable layout.
It shouldn't really be a common case, and both works well without content, but adoptable should never put comments inside these elements when there is an interpolation.
Possible fix: when updates are created, somehow mark the one related to the interpolation inside textarea or style and do not put the comment in there