Copied to clipboard

Flag this post as spam?

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


  • John Botibol 7 posts 87 karma points
    Mar 10, 2016 @ 13:50
    John Botibol
    0

    Creating a Grid Editor using the example from Ubraco tv

    Hi

    I am new to Umbraco, using V7.4.1 and have been following various tutorials on Umbraco tv. I have a problem with creating a simple Grid Editor despite following the relevant episodes. The style is not implemented.

    Here is the entry from package.manifest:

    {
    "gridEditors": [
        {
            "name": "Subheading",
            "alias": "mySubheading",
            "view": "textstring",
            "icon": "icon-grid",
            "config": {
                        "style": "font-size: 60px; line-height: 90px; font-weight: bold; font-style: italic;",
                        "markup": "<h2>#value#</h2>"
                }
        }
    ]
    

    }

    When editing in the back-office, the editor shows a very large font-size (probably the correct size) however no italic. On the rendered page it displays with no in-line style and just uses the default h2 style.

    Any ideas what I am doing wrong, is this perhaps something to do with the videos being for a previous version?

    Many thanks

    John

Please Sign in or register to post replies

Write your reply to:

Draft