Copied to clipboard

Flag this post as spam?

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


  • Simone Chiaretta 135 posts 542 karma points c-trib
    Mar 30, 2016 @ 09:31
    Simone Chiaretta
    0

    [BUG] Umbraco 7.4.2, grid editor: Image with text right doesn't work

    I just installed Umbraco 7.4.2 and I was playing with the default content-blocks of the grid editor.

    I'm under the impression that the editor for the "Image with text right" (which comes from the Fanoe starter kit) doesn't work as it is not possible to click on the "click to insert image" button. And also, the RTE doesn't appear.

    enter image description here

    Any idea how to fix it, or if this bug has been already acknowledged?

  • Ben 2 posts 23 karma points
    Dec 12, 2016 @ 13:56
    Ben
    0

    Hi there. I think you need to correct the Fanoe Starter Kit File ~/AppPlugins/Grid/Editors/Views/mediawith_description.html

    At the top modify:

    <div class="umb-editor-placeholder" ng-click="setImage()" ng-if="control.value === null">
        <i class="icon icon-picture"></i>
        <div ng-id="!control.$inserted" class="help-text"><localize key="grid_clickToInsertImage">Click to insert image</localize></div>
    </div>
    

    At the bottom append:

    <umb-overlay ng-if="mediaPickerOverlay.show"
                 model="mediaPickerOverlay"
                 view="mediaPickerOverlay.view"
                 position="right">
    </umb-overlay>
    

    Best example is the grid editor of umbraco itself at ~/Umbraco/Views/propertyeditors/grid/editors/media.html

    Documentation: https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/grid-layout

Please Sign in or register to post replies

Write your reply to:

Draft