Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21182

The Image Quick Action doesn't use a relative reference for attachments from the current page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.7-rc-1
    • 15.6-rc-1
    • CKEditor
    • None
    • Integration
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Steps to reproduce:

       

      1. Create a new page.
      2. Attach an image.
      3. Edit the page using the WYSIWYG editor.
      4. Type `/image` and press enter.
      5. Select the newly attached image and insert it.
      6. Switch to source view.

      Current result: The inserted reference is absolute (e.g. `[[image:xwiki:Sandbox.WebHome@XWikiLogo.png]]`)

      Expected result: The inserted reference is relative (e.g. `[[image:XWikiLogo.png]]`)

      Attachments

        Activity

          People

            douakli Dorian Ouakli
            douakli Dorian Ouakli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: