firefox-devtools / devtools-core

:rocket: Packages for Firefox DevTools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow ObjectInspector nodes to have custom classname

nchevobbe opened this issue · comments

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.