I have added enhanced image2 plugin to a rich text field. But when I try to add an image with caption and save the document, the image with caption disappears. Below is the config:
HTML in rich text fields gets cleaned server-side when a document is saved. The image2 plugin probably generates elements and/or attributes that are not whitelisted yet, so these will be removed.
Whitelisted elements and attributes can edited in the Console application below the node /hippo:configuration/hippo:modules/htmlprocessor/hippo:moduleconfig/richtext .