editor: fix - send correct class parameter when wrapping current node