question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: image auto wrap in figure elements

See original GitHub issue

As 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:open
  • Created 7 years ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

1reaction
Eliepsecommented, Nov 24, 2020

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).

1reaction
MrLewkcommented, Feb 22, 2017

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found