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: Unresolved
    • Major
    • None
    • 18.1.0-rc-1
    • Blocknote
    • None
    • Unknown

    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

        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: