Copied to clipboard

Flag this post as spam?

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


  • Nicholas Wright 21 posts 141 karma points notactivated
    Mar 11, 2019 @ 16:21
    Nicholas Wright
    0

    Merchello product info Tab

    Hi,

    I'm just checking, in the info tab on Merchello products Is a Rich Text Editor. The editor allows you to add links, add media, etc.

    However for us that seems to fail, when adding a link

    Unhanded Exception at line 16499 column 25 Umbraco.controllers.js

    In chrome

    DependencyHandler.ax…&cdv=156872725:2569 Uncaught TypeError: Cannot read property 'properties' of null at DependencyHandler.ax…&cdv=156872725:2569 at showDialog (DependencyHandler.ax…&cdv=156872725:1338) at i.

    Manually adding a link in the code of the RTE works

    My query is is this RTE locked down, or is this a bug ?

    Regards

    Nick

  • Nicholas Wright 21 posts 141 karma points notactivated
    Mar 12, 2019 @ 11:55
    Nicholas Wright
    0

    We've tried

    Update-Package umbracocms.core –reinstall Update-Package umbracocms –reinstall Update-Package umbraco.modelsbuilder –reinstall

    But still no joy

    CurrentTarget AnchorElement are both Null

                    tinyMceService.createLinkPicker(editor, $scope, function (currentTarget, anchorElement) {
                        $scope.linkPickerOverlay = {
                            view: 'linkpicker',
                            currentTarget: currentTarget,
                            anchors: tinyMceService.getAnchorNames(JSON.stringify(editorState.current.properties)),
                            show: true,
                            submit: function (model) {
                                tinyMceService.insertLinkInEditor(editor, model.target, anchorElement);
                                $scope.linkPickerOverlay.show = false;
                                $scope.linkPickerOverlay = null;
                            }
                        };
                    });
    

    Unhandled exception at line 16499, column 25 in http://localhost:53553/umbraco/js/umbraco.controllers.js?cdv=1761664846

    We've also tried clearing the browser cache

  • Nicholas Wright 21 posts 141 karma points notactivated
    Mar 14, 2019 @ 15:04
    Nicholas Wright
    100

    We've fixed this ...

    Commented out the lines below in the file “umbraco.controllers.js”

                         $scope.linkPickerOverlay = {
                             view: 'linkpicker',
                             currentTarget: currentTarget,
                             //13/03/2019 editorState is undefined ??
                             //anchors: tinyMceService.getAnchorNames(JSON.stringify(editorState.current.properties)),
                             show: true,
                             submit: function (model) {
                                 tinyMceService.insertLinkInEditor(editor, model.target, anchorElement);
    

    not sure where these came in !

Please Sign in or register to post replies

Write your reply to:

Draft