I create a custom plugin for modx 2.2 which requires to change the class_key. Once the document got updated with my custom class_key I also set a a custom icon with the following code for modx 2.2
.icon-test .x-tree-node-icon {
background-image: url(../images/test-icon.png) !important;
}
I investigated other plugins and built in custom class_key of modx 2.3 liek weblink and saw that tree-weblink got added on the element to customize the icon. Im wonderign how this can be done with modx 2.3