Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Alignment and adding a caption to an image embedded via ckeditor doesn't seem to be working.
Steps to replicate.
Tested via simplytest.me using 8.0.x dev
Create an article.
Add image using wysiwyg button,
Upload image
Select Right alignment
Tick caption box
Save.
Comment | File | Size | Author |
---|---|---|---|
#4 | manual-edit.png | 123.36 KB | kattekrab |
Comments
Comment #2
pameeela CreditAttribution: pameeela commentedI'm seeing the same, both on dev branch and beta-14. When I click save, nothing happens, and when I edit the image again the settings are gone.
If I am doing something wrong I would love to know what it is!
Comment #3
jibranCan you try adding
data-caption
anddata-align
to the source manually something like this<img data-caption="text here" and data-align="center"/>
?Comment #4
kattekrab CreditAttribution: kattekrab at Creative Contingencies commentedYep - and that works!
Comment #5
Wim LeersDuplicate of #2540850: (regression) EditorImageDialog alignment & captioning are not working.
Comment #6
kattekrab CreditAttribution: kattekrab at Creative Contingencies commentedThanks Wim.
Comment #7
tanmaykAs #2540850: (regression) EditorImageDialog alignment & captioning are not working is fixed, I am still seeing this issue in 8.6.2. Was not sure where to comment so reopened this.
Updating inline code to add
data-caption
&data-align
is not really good option for end users who don't know about HTML at all :)Comment #8
zezeze CreditAttribution: zezeze commentedI
Comment #9
Wim LeersPlease do not reopen 3.5 year old issues. Please create a new issue instead. Thanks.