cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Default value for editorArea:attribute

Former Member
0 Likes
281

In pcmbackoffice-backoffice-config.xml, is it possible to make the editorArea:attribute has default value?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member437308
Active Participant
0 Likes

Hi,

It is not allowed to define default value on editor configuration level. To be consistent with platform it should be set on type level (item.xml` file)

Like in many places is used inside platform:

             <attribute qualifier="localized" type="boolean">
                 <defaultvalue>java.lang.Boolean.FALSE</defaultvalue>
                 <persistence type="property" />
                 <modifiers optional="false" />
             </attribute>

Is it sufficient for you needs?

Cheers