CORE-380 adding preview to custom attributes