This will mean you can only ever have one per page, though this will work for the prevalue editor, it is best to use the $element object as an injected argument and then target a class.