Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mats Stam 61 posts 210 karma points
    Sep 19, 2022 @ 15:13
    Mats Stam
    0

    Adding an Image in the RTE provides an field for Caption (optional), that does nothing.

    So, in the RTE, if I add an image, this is shown: enter image description here

    But the Caption field isn't used at all.

    It uses the mediacropdetails.html view, which in turn uses the MediaCropDetailsController. The controller from what I can see, does nothing with the Caption, but the view is trying to handle model.target.caption:

    <div class="umb-control-group" ng-if="model.target">
         <h5>
             <localize key="@content_captionTextOptional">Caption (optional)</localize>
         </h5>
         <input type="text" class="umb-property-editor umb-textstring" ng-model="model.target.caption" />
    </div>
    

    But the only reference for a "target.caption" is in the MediaPickerController

    Anyways, this can't be right, can it? =)

    I'm running this on 8.18.5. (And on Cloud, but I don't think that matters :P)

Please Sign in or register to post replies

Write your reply to:

Draft