Uploaded image for project: 'Cristal'
  1. Cristal
  2. CRISTAL-874

Adapt to the removal of the macros AST and to the new attachment upload API of XWiki 18.10

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • 1.10.0
    • 1.9.0
    • Attachments, Macro
    • None
    • Unknown

    Description

      The XWiki 18.10 snapshots of the @xwiki/platform-* packages changed two APIs that Cristal relies on, and Cristal no longer builds against them:

      • XWIKI-24402 removed the macros AST (MacroBlock, MacroInlineContent, ...) from @xwiki/platform-macros-api. Macros now render to the Block and InlineContent types of @xwiki/platform-uniast-api, which also gained rawHtml and macro editable-area nodes.
      • XWIKI-24241 changed Storage.saveAttachments to return the uploaded attachments (PageAttachment) rather than their URLs.

      Cristal's macro HTML rendering, the XWiki macros, the uniast HTML and BlockNote converters, and all the storages need to be adapted to these APIs.

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: