Allow ObjectInspector nodes to have custom classname
nchevobbe opened this issue · comments
Nicolas Chevobbe commented
In firefox-devtools/debugger#5426, we are discussing having separate styling for "Block" nodes in the Scopes panel of the debugger.
The Scopes panel uses the ObjectInspector, and those "Block" nodes are mixed with the other nodes in the data structure passed to the ObjectInspector.
So here, we would need to have a way to specify, from the node data, a specific classname which would be applied to the .tree-node
element.