I would like to be able to add classes to a Node Group without affecting the current classes in it.
As of now, the node_group type will treat the classes attribute as an exclusive list of classes. Which means it will remove any classes that aren't in the classes hash.
That's fine behavior, but sometimes it's not desirable. There should be a new attribute of the node_group type that toggles the exclusivity of the classes attribute.
Current Workaround
Without this new feature, I've been getting around the problem by doing something like this:
I would like to be able to add classes to a Node Group without affecting the current classes in it.
As of now, the node_group type will treat the
classes
attribute as an exclusive list of classes. Which means it will remove any classes that aren't in theclasses
hash.That's fine behavior, but sometimes it's not desirable. There should be a new attribute of the node_group type that toggles the exclusivity of the
classes
attribute.Current Workaround
Without this new feature, I've been getting around the problem by doing something like this:
Ideal Solution
Here I'm making up a new attribute called
remove_classes
. I don't really like that name, but I can't think of anything better at the moment.