Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1133

Relative links don't work with fckeditor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.0 RC4
    • 3.0 RC3
    • admininterface
    • None

    Description

      If you edit a page and type in html code in fckeditor, and explicitely make a relative link (<a href="features/editing.html">test</a> from a page in the root, for instance) it will be broken by DialogFckEdit.convertToView().
      This is due to the fact that documents uploaded through fck will already have their path prefixed with the current document's path, so it has to be stripped by the convertToView method ( StringUtils.substringAfter(src, "/") )

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD