Skip to content

Commit

Permalink
Image caption support
Browse files Browse the repository at this point in the history
Allow ``figcaption`` in rich text editor as a valid tag.
Add registry setting for plone.image_caption outputfilter transform.
  • Loading branch information
thet committed Jun 21, 2019
1 parent afa4ad0 commit c35aa86
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions news/209.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Image caption support
Allow ``figcaption`` in rich text editor as a valid tag.
Add registry setting for plone.image_caption outputfilter transform.
[thet]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<registry>
<record name="plone.valid_tags">
<value purge="false">
<element>figcaption</element>
</value>
</record>
<record name="plone.image_captioning" interface="Products.CMFPlone.interfaces.controlpanel.IImagingSchema" field="image_captioning">
<field type="plone.registry.field.Bool">
</field>
<value>False</value>
</record>
</registry>

0 comments on commit c35aa86

Please sign in to comment.