[xwiki/xwiki-platform] 874d49: XWIKI-24157: Use directly the BlockNote syntax ins...
Branch: refs/heads/XWIKI-24157 Home: https://github.com/xwiki/xwiki-platform Commit: 874d49dc9ab8e38071daa202d1e9317411bb97e6 https://github.com/xwiki/xwiki-platform/commit/874d49dc9ab8e38071daa202d1e93... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-api/pom.xml M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-api/src/main/resources/templates/blocknote/macros.wiki M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/components/XWikiBlockNote.vue M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/main.js M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/Factory.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/Logic.ts A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/BlockNoteIterator.ts A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/BlockNoteProcessor.ts A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/DefaultBlockNoteIterator.ts A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/container.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/macros/MacroWizard.ts R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/uniast/DefaultUniAstIterator.ts R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/uniast/UniAstIterator.ts R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/uniast/UniAstProcessor.ts R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/uniast/XWikiUniAstProcessor.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/etc/platform-editors-blocknote-headless.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/langs/translation-en.json M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/vue/c-blocknote-view.vue Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Replace the usage of UniAst with BlockNote. This is just the start, we still need to extend the BlockNote schema to support our custom blocks/props/styles. Commit: 29f138cd69b3afc4bcbf027893534d9a1bfd21c0 https://github.com/xwiki/xwiki-platform/commit/29f138cd69b3afc4bcbf027893534... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/styles.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/CustomFormattingToolbar.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/langs/translation-en.json Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Add support for subscript and superscript text styles. Commit: baa30607243c6bf55da06ab9362da07903cd6928 https://github.com/xwiki/xwiki-platform/commit/baa30607243c6bf55da06ab9362da... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/styles.ts Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Add support for "xwiki:verbatim" text "style" that maps to XDOM's VerbatimBlock Commit: 4f2858523b6c3de588d959e17ba5847ce75b44df https://github.com/xwiki/xwiki-platform/commit/4f2858523b6c3de588d959e17ba58... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/group.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Add support for XWiki group syntax (GroupBlock in XDOM) Commit: 5e04dd1e70afdb057690e3040bd07c4d121bd2ea https://github.com/xwiki/xwiki-platform/commit/5e04dd1e70afdb057690e3040bd07... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/definitionList.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Add minimal support for definition lists (just to make sure they are preserved on save). Commit: c11ea9bbf6bd58c29a9142d635695c9d000bc5f1 https://github.com/xwiki/xwiki-platform/commit/c11ea9bbf6bd58c29a9142d635695... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macroBlock.tsx Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Add support for xwiki:macroBlock custom block Commit: 622902ea0421f374f72fa7c5ee281ca5cee6766c https://github.com/xwiki/xwiki-platform/commit/622902ea0421f374f72fa7c5ee281... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/definitionList.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/group.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macroBlock.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/styles.ts Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Avoid errors like "Uncaught DOMException: Element.matches: '[data-content-type=xwiki:definitionListItem]' is not a valid selector" on block drag and drop Commit: d743fb847df2cc159584116eb046292f933d57fa https://github.com/xwiki/xwiki-platform/commit/d743fb847df2cc159584116eb0462... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/raw.tsx Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Add support for raw block Commit: a00328795dc62442e4632eb92fd715b9f9d015e4 https://github.com/xwiki/xwiki-platform/commit/a00328795dc62442e4632eb92fd71... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/BlockNoteProcessor.ts Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Update since version Commit: ca049489cf332caed3ae653253537462945114a0 https://github.com/xwiki/xwiki-platform/commit/ca049489cf332caed3ae653253537... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/components/XWikiBlockNote.vue M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/BlockNoteProcessor.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/styles.ts Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Preserve custom XDOM block parameters. Commit: e4a030ca1e82e520e43d66267257084352d940d8 https://github.com/xwiki/xwiki-platform/commit/e4a030ca1e82e520e43d662672570... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M pnpm-lock.yaml M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-docker/src/test/it/org/xwiki/blocknote/test/ui/RoundTripIT.java M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/package.json M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/CustomFormattingToolbar.tsx Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Generate block IDs using a different API that works in insecure enviroments (i.e. when running the functional tests using Docker containers) * Filter default style / property values from the output and update the round trip tests Commit: 7a95f3835714d6d79159a9bb24bf3315efdb219d https://github.com/xwiki/xwiki-platform/commit/7a95f3835714d6d79159a9bb24bf3... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-docker/src/test/it/org/xwiki/blocknote/test/ui/RoundTripIT.java Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Update round trip tests Commit: 921a7fed5dbc3a51ba284165e6ce118e41b056d1 https://github.com/xwiki/xwiki-platform/commit/921a7fed5dbc3a51ba284165e6ce1... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-docker/src/test/it/org/xwiki/blocknote/test/ui/RoundTripIT.java Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Verify block-level content inside list items is preserved. * Unfortunately table cell parameters are lost, and table cells support only inline content. Commit: 33efa20a64f1da0dec325a8a6cbed5b74bfb95e5 https://github.com/xwiki/xwiki-platform/commit/33efa20a64f1da0dec325a8a6cbed... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-docker/src/test/it/org/xwiki/blocknote/test/ui/AllIT.java R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-docker/src/test/it/org/xwiki/blocknote/test/ui/BlockNoteIT.java M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-docker/src/test/it/org/xwiki/blocknote/test/ui/ImageIT.java M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-docker/src/test/it/org/xwiki/blocknote/test/ui/RoundTripIT.java M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/components/XWikiBlockNote.vue M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.ts A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/image/DefaultImageWizard.test.js M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/image/DefaultImageWizard.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/image/ImageWizard.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-headless/src/uniast/bn-to-uniast.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/playwright-ct/BlockNote.spec.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/index.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/images/CustomImageToolbar.tsx Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Preserve image metadata (resource reference, parameters, freestanding) * Stop hijacking the image URL; use the separate resource reference metadata instead * Pass the image block when editing so that we have access to the image block ID, needed to access the image metadata. Commit: 5b5c214c8113fbb7476975eca9cd6450b91edd02 https://github.com/xwiki/xwiki-platform/commit/5b5c214c8113fbb7476975eca9cd6... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M pnpm-lock.yaml M pnpm-workspace.yaml M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/package.json M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/components/XWikiBlockNote.vue M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/container.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/image/DefaultImageWizard.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/image/ImageWizard.ts R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/model/reference/DefaultResourceReferenceParser.ts R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/model/reference/ResourceReferenceParser.ts M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/model/reference/XWikiModelReferenceParser.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/api-extractor.json A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/etc/platform-rendering-api.api.md A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/package.json A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/src/DefaultResourceReferenceParser.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/src/ResourceReference.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/src/ResourceReferenceParser.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/src/index.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/tsconfig.json A xwiki-platform-core/xwiki-platform-node/src/main/node/core/rendering/rendering-api/tsdoc.json Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Client-side ResourceReference and ResourceReferenceParser are more generic than BlockNote module Commit: 84f707c0855cd71537f5cb3cb3176d2b36076529 https://github.com/xwiki/xwiki-platform/commit/84f707c0855cd71537f5cb3cb3176... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/components/XWikiBlockNote.vue M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/playwright-ct/LinkEdition.spec.tsx A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/playwright-ct/LinkEdition.story.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/BlockNoteViewWrapper.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/CustomFormattingToolbar.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/CustomCreateLinkButton.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/CustomLinkToolbar.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/LinkEditor.tsx A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/linkEditionHooks.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/index.tsx Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Add hooks for executing code before a link is edited / updated. This will be used to preserve the link custom parameters. Commit: 07d2f006680bfaac0fbbb6f32a816ec1fc5edd33 https://github.com/xwiki/xwiki-platform/commit/07d2f006680bfaac0fbbb6f32a816... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M pnpm-lock.yaml M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/package.json M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/playwright-ct/LinkEdition.spec.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/playwright-ct/LinkEdition.story.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/playwright-ct/depsContainer.mock.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/SearchBox.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/CustomCreateLinkButton.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/CustomLinkToolbar.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/LinkEditor.tsx Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Extend the LinkData with the link resource reference, in order to be able to restore the link reference on save (the saved link XWiki syntax should use the resource reference not the external URL) * Modify the link editor to output the link resource reference besides the link URL Commit: 78df32bc82e6e53ad313f897f659a98cb5a921dd https://github.com/xwiki/xwiki-platform/commit/78df32bc82e6e53ad313f897f659a... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-16 (Thu, 16 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/components/XWikiBlockNote.vue A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.test.js M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/XWikiBlockNoteProcessor.ts A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/linkId.test.js A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/blocknote/linkId.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/etc/platform-editors-blocknote-react.api.md M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/CustomLinkToolbar.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/linkEditionHooks.ts Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Preserve link metadata (reference, parameters, freestanding) Compare: https://github.com/xwiki/xwiki-platform/compare/b4da62729067...78df32bc82e6 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications