lumino
lumino copied to clipboard
Negate Selector
Hi,
I'd like to use not within a selector, but that does not seem to be working. The use case is having something apply for the whole selector except for specific children of it. Example:
{
"command": "runmenu:restart-and-run-all",
"keys": [
"Shift R"
],
"selector": ".jp-Notebook.jp-mod-commandMode :not(.jp-Stdin)"
}
Is this supported?
The not
selector is explicitly ignored here. I'm not sure what the ramifications would be of not removing that logic.
@blink1073 That seems to be only for calculating the specificity ?
Perhaps, I don't have the bandwidth to look at this at the moment.