Copied to clipboard

Flag this post as spam?

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


  • sarathy 16 posts 36 karma points
    Mar 17, 2015 @ 15:24
    sarathy
    0

    how to add uck editor in grid layout?

    hi, i tried to add uCKEditor to Grid Layout( grid.editors.config.js file) like this...

    {
            "name": "uCKE text editor",
            "alias": "uCKE",
            "view": "/App_Plugins/uCKEditor/editor.html",
            "icon": "icon-article"
      },
    

    but does not show in grid layout can help me to show uck editors in grid layout

  • schlubadub 102 posts 617 karma points
    Mar 18, 2015 @ 06:39
    schlubadub
    0

    It might be a caching issue - did you make sure to "touch" the web.config file after updating that grid file?

  • sarathy 16 posts 36 karma points
    Mar 18, 2015 @ 08:12
    sarathy
    0

    i have not done any changes web.config file should i do anything there...

  • schlubadub 102 posts 617 karma points
    Mar 18, 2015 @ 08:14
    schlubadub
    0

    No, it's just a trick to force everything to reload. Edit your web.config file in any way (e.g. put a space in and then remove it) and save it... hopefully that will trigger a reload of everything.

  • sarathy 16 posts 36 karma points
    Mar 18, 2015 @ 10:25
    sarathy
    0

    i did as you said. still its not working. Alternatively I get down to change atleast the default font config but that also not coming properly.

    I give the original default setting which I want to change,

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

    the above I want to change to the following setting,

    {
            "name": "Headline",
            "alias": "headline",
            "view": "textstring",
            "icon": "icon-coin",
            "config": {
                "style": "font-size: 16px; line-height: 45px; font-weight: bold",
                "markup": "<h6>#value#</h6>"
            }
        },
    

    Can you please help me out.

  • schlubadub 102 posts 617 karma points
    Mar 18, 2015 @ 10:30
    schlubadub
    0

    The "style" is what you see in Umbraco admin only. "markup" is what should appear on the front-end website... what you have done seems correct and the headline should be displaying as H6 (instead of H1)

  • sarathy 16 posts 36 karma points
    Mar 18, 2015 @ 11:37
    sarathy
    0

    Thanks. But for me why the result is not as desired. Why H6 is not coming? Please give me some steps.

  • sarathy 16 posts 36 karma points
    Mar 18, 2015 @ 13:36
    sarathy
    0

    i got solution for this after deleting history & cookies our chrome browser.now its working uck editor in grid layout...thanking for giving me correct directions.

    i have one more question,

    I can see the uck editor in grid but at any key press, it will be disappear. Do you have solution?

Please Sign in or register to post replies

Write your reply to:

Draft