Uploaded image for project: 'CKEditor Integration (closed)'
  1. CKEditor Integration (closed)
  2. MGNLCKEDIT-14

Make link browser open selected path in tree

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.0.3
    • 1.0.2
    • Yes

    Description

      Hi there
      I just had to fix this issue for our current project.

      I have looked at the old fck editor and implemented the feature the same way...

      The following changes were necessary:

      1. Implement public String select() {} in CKRepositoryBrowserPage to call setSelectedPath()
      2. Update filebrowser and imagebrowser urls in config
            config.filebrowserLinkBrowseUrl = cfg.contextPath + "/.magnolia/pages/ckRepositoryBrowser.html?contextPath=" + cfg.contextPath + "";
            config.filebrowserImageBrowseUrl = cfg.contextPath + "/.magnolia/pages/ckRepositoryBrowser.html?contextPath=" + cfg.contextPath + "&selectedRepository=dms";
        
      3. Add CKRepositoryBrowserPage.html ("show" template) to read the absoluteURI from opener.CKEDITOR and update the window.location.href

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              jsimak Jaroslav Simak
              sbaur Stefan Baur
              Christian Balaguer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: