on 2023 Jul 18 1:27 PM
I have created a new Item CmsParaGraphStyle and added this item as a relation to CmsParagraphComponent. Now I need to display this property for CmsParagraphComponent as a dropdown in CmsCockpit. I added the field to "editorArea_CMSParagraphComponent.xml" as below
<group qualifier="editorial" visible="true" initially-opened="false">
<label key="config.general.editorial" />
<property qualifier="CMSParagraphComponent.content" editor="wysiwyg"/>
<property qualifier="CMSParagraphComponent.paragraphStyle" editor="shortListEditor"/>
</group>
But it doesn't work.
I want my paragraph style to look like Catalog Version as below.

Request clarification before answering.
I got the solution to it.
Apparently for Enum type attribute values CMSCockpit by default renders dropdown. So i had to made my attribute Enum type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.