Copied to clipboard

Flag this post as spam?

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


  • Fahad Ayub 71 posts 238 karma points
    Oct 02, 2017 @ 14:49
    Fahad Ayub
    0

    Custom Grid editors

    Hi, I have created Custom Grid editors using package.manifest file and placed the file in

    App_Plugins/CstEditors/package.manifest
    

    The content of package.manifest :

    {
        "gridEditors": [
            {
                "name": "H1",
                "alias": "headline1",
                "view": "textstring",
                "icon": "icon-coin",
                "config": {
                    "style": "font-size: 36px; line-height: 45px; font-weight: bold",
                    "markup": "<h1>#value#</h1>"
                }
            }
    }
    

    I can see the H1 appearing as editor in my grid but when I published my page I cant see any styling at all. Any idea what I am doing wrong here?

    Thanks

  • Fahad Ayub 71 posts 238 karma points
    Oct 03, 2017 @ 09:25
    Fahad Ayub
    0

    Any help would be appreciated. Thanks

Please Sign in or register to post replies

Write your reply to:

Draft