Skip to content
Snippets Groups Projects
Commit d2efcd26 authored by Guido Schmechel's avatar Guido Schmechel Committed by Jigal van Hemert
Browse files

[BUGFIX] Show image metadata description

Show the description as a placeholder when an image
is added as a reference.

Resolves: #81235
Releases: master, 8.7
Change-Id: I75363f74ba72bf4fd95b2a2e9a2a061ad250f825
Reviewed-on: https://review.typo3.org/56438


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: default avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: default avatarJigal van Hemert <jigal.van.hemert@typo3.org>
parent 5814b35b
Branches
Tags
No related merge requests found
...@@ -278,7 +278,7 @@ class TextElement extends AbstractFormElement ...@@ -278,7 +278,7 @@ class TextElement extends AbstractFormElement
$fullElement[] = isset($attributes['style']) ? ' style="' . htmlspecialchars($attributes['style']) . '"' : ''; $fullElement[] = isset($attributes['style']) ? ' style="' . htmlspecialchars($attributes['style']) . '"' : '';
$fullElement[] = isset($attributes['maxlength']) ? ' maxlength="' . htmlspecialchars($attributes['maxlength']) . '"' : ''; $fullElement[] = isset($attributes['maxlength']) ? ' maxlength="' . htmlspecialchars($attributes['maxlength']) . '"' : '';
$fullElement[] = '>'; $fullElement[] = '>';
$fullElement[] = htmlspecialchars($itemValue); $fullElement[] = htmlspecialchars($shortenedPlaceholder);
$fullElement[] = '</textarea>'; $fullElement[] = '</textarea>';
$fullElement[] = '</div>'; $fullElement[] = '</div>';
$fullElement[] = '</div>'; $fullElement[] = '</div>';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment