Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1465 posts 1887 karma points
    Feb 26, 2015 @ 12:45
    Gordon Saxby
    0

    Add new editor to Grid

    I am trying to add a new editor / control to the Grid DataType in Umbraco v7 but I can't get it to appear.

    I just want a duplicate of the "Headline" editor, so copied its config in grid.editors.config.js -

        {
    "name": "Section Heading",
    "alias": "sectionheading",
    "view": "textstring",
    "icon": "icon-coins",
    "config": {
    "style": "font-size: 24px; line-height: 36px; font-weight: bold",
    "markup": "<h2>#value#</h2>"
    }
    },

    I have restarted IIS, cleared out ClientDependency, updated the version in clientdependency.config but the new editor doesn't appear when editing the setup of the Grid Layout Editor DataType.

    What else do I need to do?

     

  • Ismael 71 posts 354 karma points
    Mar 03, 2015 @ 18:52
    Ismael
    0

    A bit late, you've probably fixed this by now, but I usually have to clear the browser cache. In Chrome this can be done by right+click the reload button and selecting 'Empty cache and hard reload'.  Note, the context menu is only available when the developer tools is open.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies