Copied to clipboard

Flag this post as spam?

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


  • Danni 13 posts 52 karma points
    May 07, 2015 @ 11:04
    Danni
    0

    Can't use RTE in Leblender editor

    When using the RTE in Leblender editor (only that editor) i get an error:

    Request error: The URL returned a 404 (not found): 
    rte

    In my console it says:

    GET http://--siteurl--/umbraco/rte 404 (Not Found)

     

    Can you please help me?

     

    //Danni

  • Antoine 176 posts 1494 karma points
    May 07, 2015 @ 11:21
    Antoine
    0

    Hi Danni, 

    I can't reproduce your issue, could you give me the JSON editor config from the config/grid.editors.config.js file? something seems to be wrought from there.

  • Danni 13 posts 52 karma points
    May 07, 2015 @ 12:40
    Danni
    0

    Hi Antoine

    Here's my editors file:

     

    [

        {

            "name": "Image Slider",

            "alias": "imageSlider",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-pictures-alt-2",

            "adv": true,

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "editors": [

                    {

                        "name": "Title",

                        "alias": "Title",

                        "view": "",

                        "propretyType": {

                            "name": "Textstring",

                            "view": "textstring"

                        }

                    },

                    {

                        "name": "Link",

                        "alias": "link",

                        "view": "",

                        "propretyType": {

                            "name": "Content Picker",

                            "view": "/umbraco/Views/propertyeditors/contentpicker/contentpicker.html",

                            "config": {

                                "multiPicker": false,

                                "minNumber": 1,

                                "maxNumber": 1

                            }

                        }

                    },

                    {

                        "name": "Image",

                        "alias": "image",

                        "view": "",

                        "propretyType": {

                            "name": "Media Picker",

                            "view": "/umbraco/Views/propertyeditors/mediapicker/mediapicker.html",

                            "config": {

                                "multiPicker": false

                            }

                        }

                    }

                ],

                "renderInGrid": "0",

                "min": 1,

                "max": 5,

                "frontView": ""

            }

        },

        {

            "name": "Rich text editor",

            "alias": "rte",

            "view": "rte",

            "icon": "icon-article"

        },

        {

            "name": "Quote",

            "alias": "quote",

            "view": "textstring",

            "icon": "icon-quote",

            "config": {

                "style": "border-left: 3px solid #ccc; padding: 10px; color: #ccc; font-family: serif; font-variant: italic; font-size: 18px",

                "markup": "<blockquote>#value#</blockquote>"

            }

        },

        {

            "name": "Side Widget",

            "alias": "sideWidget",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-settings-alt",

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "editors": [

                    {

                        "name": "Widget Title",

                        "alias": "widgetTitle",

                        "view": "",

                        "propretyType": {

                            "name": "Textstring",

                            "view": "textstring"

                        }

                    },

                    {

                        "name": "Widget Image",

                        "alias": "widgetImage",

                        "view": "",

                        "propretyType": {

                            "name": "Media Picker",

                            "view": "/umbraco/Views/propertyeditors/mediapicker/mediapicker.html",

                            "config": {

                                "multiPicker": false

                            }

                        }

                    },

                    {

                        "name": "Widget Text",

                        "alias": "widgetText",

                        "view": "",

                        "propretyType": {

                            "name": "Textarea",

                            "view": "textarea"

                        }

                    },

                    {

                        "name": "Wdiget Cite",

                        "alias": "wdigetCite",

                        "view": "",

                        "propretyType": {

                            "name": "Textstring",

                            "view": "textstring"

                        }

                    }

                ],

                "min": 1,

                "max": 1,

                "frontView": ""

            }

        },

        {

            "name": "Accordion",

            "alias": "accordion",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-list",

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "fixed": false,

                "limit": 0,

                "editors": [

                    {

                        "name": "Header",

                        "alias": "header",

                        "view": "",

                        "propretyType": {

                            "name": "Textstring",

                            "view": "textstring"

                        }

                    },

                    {

                        "name": "Content",

                        "alias": "content",

                        "view": "",

                        "propretyType": {

                            "name": "- - custom - -",

                            "view": "rte"

                        }

                    }

                ],

                "renderInGrid": "1",

                "frontView": ""

            },

            "adv": true

        },

        {

            "name": "Gallery",

            "alias": "gallery",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-pictures-alt",

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "editors": [

                    {

                        "name": "Gallery Title",

                        "alias": "galleryTitle",

                        "view": "",

                        "propretyType": {

                            "name": "Textstring",

                            "view": "textstring"

                        }

                    },

                    {

                        "name": "Gallery images",

                        "alias": "galleryImages",

                        "view": "",

                        "propretyType": {

                            "name": "Multi Media Picker",

                            "view": "/umbraco/Views/propertyeditors/mediapicker/mediapicker.html",

                            "config": {

                                "multiPicker": true

                            }

                        }

                    }

                ],

                "min": 1,

                "max": 1,

                "frontView": ""

            },

            "adv": true

        },

        {

            "name": "4 Round",

            "alias": "4Round",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-circle-dotted",

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "editors": [

                    {

                        "name": "Title",

                        "alias": "title",

                        "view": "",

                        "propretyType": {

                            "name": "Textstring",

                            "view": "textstring"

                        }

                    },

                    {

                        "name": "Image",

                        "alias": "image",

                        "view": "",

                        "propretyType": {

                            "name": "Media Picker",

                            "view": "/umbraco/Views/propertyeditors/mediapicker/mediapicker.html",

                            "config": {

                                "multiPicker": false

                            }

                        }

                    },

                    {

                        "name": "Link",

                        "alias": "link",

                        "view": "",

                        "propretyType": {

                            "name": "Content Picker",

                            "view": "/umbraco/Views/propertyeditors/contentpicker/contentpicker.html",

                            "config": {

                                "multiPicker": false,

                                "minNumber": 1,

                                "maxNumber": 1

                            }

                        }

                    }

                ],

                "renderInGrid": "0",

                "min": 1,

                "max": 4,

                "frontView": ""

            },

            "adv": true

        },

        {

            "name": "Footer",

            "alias": "footer",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-shoe",

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "fixed": false,

                "limit": 6,

                "editors": [

                    {

                        "name": "Footer Row Header",

                        "alias": "footerRowHeader",

                        "view": "",

                        "propretyType": {

                            "name": "Textstring",

                            "view": "textstring"

                        }

                    },

                    {

                        "name": "Footer Header Link",

                        "alias": "footerHeaderLInk",

                        "view": "",

                        "propretyType": {

                            "name": "Content Picker",

                            "view": "/umbraco/Views/propertyeditors/contentpicker/contentpicker.html",

                            "config": {

                                "multiPicker": false,

                                "minNumber": 1,

                                "maxNumber": 1

                            }

                        }

                    },

                    {

                        "name": "Footer Links",

                        "alias": "footerLinks",

                        "view": "",

                        "propretyType": {

                            "name": "Multi Content Picker",

                            "view": "/umbraco/Views/propertyeditors/contentpicker/contentpicker.html",

                            "config": {

                                "multiPicker": "1",

                                "showEditButton": "0"

                            }

                        }

                    }

                ],

                "max": 6,

                "frontView": ""

            },

            "adv": true

        },

        {

            "name": "Teachers",

            "alias": "teachers",

            "view": "/App_Plugins/Novicell/Editors/Teachers.html",

            "render": "/Views/Partials/Grid/Editors/Teachers.cshtml",

            "icon": "icon-presentation",

            "adv": false,

            "config": ""

        },

        {

            "name": "Test",

            "alias": "test",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-settings-alt",

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "editors": [

                    {

                        "name": "Title",

                        "alias": "title",

                        "propretyType": {},

                        "dataType": "0cc0eba1-9960-42c9-bf9b-60e150b429ae"

                    },

                    {

                        "name": "Content",

                        "alias": "content",

                        "propretyType": {},

                        "dataType": "ca90c950-0aff-4e72-b976-a30b1ac57dad"

                    }

                ],

                "frontView": ""

            }

        }

    ]

  • Antoine 176 posts 1494 karma points
    May 07, 2015 @ 12:53
    Antoine
    100

    Is it the editor "Accordion" that you are talking about? 

    This editor doesn't have any datatype selected, just select "RitchTextEditor" and it will work, see att

  • Danni 13 posts 52 karma points
    May 07, 2015 @ 13:07
    Danni
    0

    It worked!

    Thanks a lot! it's properly because of fiddling around when updating an so on!

  • Antoine 176 posts 1494 karma points
    May 07, 2015 @ 13:11
    Antoine
    0

    you're welcome

  • 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