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 1342 posts 1603 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 65 posts 337 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.

Please Sign in or register to post replies

Write your reply to:

Draft