Feature request: image auto wrap in figure elements
See original GitHub issueAs the title suggests, it would be useful if the image plugin would automatically wrap images in <figure>
tags, or to have an alternative option like the caption checkbox to add a figure wrapper with or without a figcaption
.
Other possible suggestion, to have an init option like “force_img_figure
” to make it so any image inserted gets wrapped in a figure tag for HTML5 semantics (and also useful for the new Facebook Instant Articles to write correct syntax easily for end users who don’t understand raw html code).
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:7
Top Results From Across the Web
Add the ability to wrap text around objects - Share an idea
There's currently no way to wrap text around an object like an icon, spot illustration, or image. The only solution is to manually...
Read more >The figure & figcaption elements - HTML5 Doctor
An image within a <figure> element without a caption: ... to be contained within an HTML5 figure element, but wrapped directly by an...
Read more >Wrap text around any image or shape that you want! - YouTube
The first 1000 people to use the link will get a free trial of Skillshare Premium Membership: https://skl.sh/kevinpowell03211Shape-outside ...
Read more >Responsive images - Learn web development | MDN
That's a wrap for responsive images — we hope you enjoyed playing ... Learn how to use features like srcset and the <picture>...
Read more >Wrap text around an image using float | Webflow University
Use float to wrap text around images and clear a wrapped element. This video features an old UI. Updated version coming soon!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey, sorry but I do not work on any project that requires using tinymce right now, so I did not went further (as I said I would in my previous message).
@fyrkant Yeh I have the image caption option enabled, but it’s not always relevant to have a caption on a image, plus for the end users I create for, they wouldn’t even know the option exists, let alone understand why they should use it! This is why it would be useful to have an
init
option to force<figure>
wrapping along with additional option within the image plugin interface for the more tech savvy users