As the title says, is there any plugin whcih will allow <span> tags to be visible and their properties made editable? This exists for divs, so I would have thought it should be possible for spans too.
Reason; I'm looking for a way to put captions under images programmatically. Span tags seem the best option as containers, since in compliant HTML neither tables nor divs should be placed inside paragraphs, but images may legitimately be inside paras.
The problem is that the span tags containing the image and its caption are invisible and non-adjustable in CKEditor, whereas a table or div would be more user-friendly from an editing point of view.
If you mean like with the
If you mean like with the Show Blocks plugin, no, there's no such plugin. Enhanced Image has an easy way to add images with captions inside paragraphs. You can always create a new feature request on the dev site for the Show Blocks thing.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Thanks.
Thanks.
Looks like I'm reinventing the wheel. Didn't know of that plugin. ;)
Although, an idea occurred to me that the caption could be rendered at page display time by php, from the alt or title attribute contents. A quick test seems to indicate this is feasible. That approach would completely avoid having any special markup in the editor.