Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
Hi
In the CKEditor I found a little problem. The "Berlin" template supports the "figcaption" - a small text line under an image. But in the CKEditor menu to insert an images has no field to edit this text. In the stored message the line is set "empty" with this code:
<figcaption> </figcaption>
Any idea?
Salutations / best regards
Tin
Hors ligne
The text is taken from the image title (ie alt text) if it is set in media manager (if you do not set it yourself, the file name is taken).
I am not sure if the editor compares file name and title or if it checks if there is an image file extension, but no figcaption is inserted if the title is the same as the file name/or has an image file extension like .jpg, .png, etc.
You may also click under the image and type your figcaption, or right-click and change it in the image properties.
Hors ligne
I cannot reproduce this bug. Could you please try with a new post :
- upload a new image *.jpg with media manager
- go to media manager *.jpg details page
- enter some words (not ending with file extension) in File title field and save
- try inserting your image in your post
Hors ligne
Also check in Blog settings that Default image insertion attributes > Inserted image title is not set on none ;)
Hors ligne
Ok, you are right - when editing the text after upload the picture in the title field in the media manager - this text is really inserted as capture text.
But if I change the text afterwards with the picture properties menu of the editor - this didn't work.
Salutations / best regards
Tin
Hors ligne
I think it could be a bug with CKEditor itself. did you check on their demo page if it is the same behaviour ? If not, it would deserve a ticket ;)
Hors ligne
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).