It's my first message here so hi everyone
CKEditor is a great thing but it seems to be kind of not compatible with HTML5, namely image source code is old-type. I'm working on a webpage with articles; my frontend developer used this style of coding:
<figure> <figcaption>Description</figcaption> <img src="picture.jpg" /> </figure>
I see that CKEditor's source for images is only <img> tag with optional longdesc or title attributes. I can't make caption to be a separate paragraph as images can be aligned to left of right (not only centered) and in such a case, caption couldn't be displayed as an integral part of the image.
There is an image, and there must be a description below it (no matter where the image is in the page).
What would you do about it guys?
I'm supportive of figure & figcaption
It's totally the HTML5 way to add captions to images!
But that's different than longdesc.
Captioned images can be
Captioned images can be inserted into CKEditor with the new Enhanced Image plugin.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!