Details
-
Bug
-
Resolution: Invalid
-
High
-
4.7.0, 5.0, 5.1, 5.2, 5.3.1, 5.3.2
-
None
Description
when declaring a custom embed attribute of type selection, the declared values do not work:
- value is not stored
- if editor is disabled, the custom attribute is not present in the <embed> tag
test:
set in content.ini:
[embed-type_images] CustomAttributes[]=dropbox
in ezoe_attributes.ini
[CustomAttribute_dropbox] Name=Dropbox Type=select Default=1 Selection[] Selection[0]=one Selection[1]=two Selection[2]=three
- add an image to a xml block
- select any value from the "dropbox" attribute, publish
- edit again previous image. the selected value in "dropbox" was not saved
- confirm by disabling the editor: the dropbox attribute is not present in the tag