-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add image caption support #911
Conversation
@thet thanks for creating this Pull Request and help improve Plone! To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass. Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:
With this simple comment all the jobs will be started automatically. Happy hacking! |
The PRs regarding image captioning support are almost ready.
Before proceeding I'd like to get some feedback. |
Some more ideas (out of scope for this PR):
|
@jenkins-plone-org please run jobs |
…. Can be used to open the image in a modal in a different resolution than the one which is linked.
…an for all image-richttext images and split on the @@images view and get the original scale. Done.
03ef30b
to
a4779b3
Compare
Branch: refs/heads/master Date: 2020-02-17T18:17:32+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.staticresources@05a12a6 Add figcaption support - plone/mockup#911 Files changed: A news/30.feature A src/plone/staticresources/upgrades/7.zcml A src/plone/staticresources/upgrades/profiles/7/registry.xml M src/plone/staticresources/profiles/default/metadata.xml M src/plone/staticresources/profiles/default/registry/bundles.xml M src/plone/staticresources/setuphandlers.py M src/plone/staticresources/upgrades/configure.zcml Repository: plone.staticresources Branch: refs/heads/master Date: 2020-02-17T18:17:32+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.staticresources@cad5e61 compiled Files changed: M src/plone/staticresources/static/plone-tinymce-compiled.js M src/plone/staticresources/static/plone-tinymce-compiled.min.js
@iham all merged! Should be in the next Plone release. |
In the TinyMCE Image dialog:
<figure>
tag and adds a<figcaption>
if "Show Image Caption from Image Description" is not checked and the manual caption is present.Re-adds image caption support, which was present until Plone 5.
Screenshot:

Merge:
#911
plone/plone.staticresources#30
plone/Products.CMFPlone#2887
plone/plone.outputfilters#36
plone/plone.app.upgrade#226