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

Images with internal references are not displayed by the editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • 18.6.0-rc-1
    • 18.1.0-rc-1
    • BlockNote
    • None
    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Follow these steps to reproduce:

      • create a new page with this content:
        image:icon:accept
        
      • edit the page with BlockNote

      The image is not displayed in edit mode. You only see the image placeholder. The reason is that the generated UniAst syntax doesn't provide the image URL:

      {
        "blocks" : [ {
          "type" : "image",
          "styles" : { },
          "target" : {
            "type" : "internal",
            "rawReference" : "icon:accept"
          }
        } ]
      }
      

      The same happens with attached images.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: