Closed jwillmer closed 7 years ago
As it turns out this feature was only implemented for attributes:
Simplify attribute extraction commit
if(this.extractAttribute) {
data[this.id+'-'+this.extractAttribute] = $(element).attr(this.extractAttribute);
}
My bad, there is a input box for style in the group selector and because it is the same as in attribute selection it was prefilled.
I found out that you can use multiple selectors at once - sort of. I think we might be able to create a cool feature out of it.
Assumption
We want the background-image links in a list.
HTML
Workflow
Element attribute
div.productShotThumbnail
style
Grouped
div.productShotThumbnail
Data Preview
Output
Conclusion
Without selecting the attribute name
style
in theElement attribute
type we would not have the style content in the groups.Problem
Since the style content is not gathered in the group selection the string modifications do not apply to it. In fact, the group selection only sees
{"group":"1"},"group":"2"},"group":"3"}
and the output is later merged together.Idea
We might be able to merge the content earlier to be able to use string manipulations on the whole output if we like to promote this bug to a feature.