Branch: refs/heads/XWIKI-24157 Home: https://github.com/xwiki/xwiki-platform Commit: 281d6599770a08f1fca0d27b15ffed2e40aa4e7c https://github.com/xwiki/xwiki-platform/commit/281d6599770a08f1fca0d27b15ffe... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 1f30d4c33587560b8e6024a53ad106f2655c97c0 https://github.com/xwiki/xwiki-platform/commit/1f30d4c33587560b8e6024a53ad10... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 81a89f0d64bae7f4165e21478d326e205dd52e8a https://github.com/xwiki/xwiki-platform/commit/81a89f0d64bae7f4165e21478d326... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: bb8b6f6816e62a893eabf319ef71a24db6f7eddf https://github.com/xwiki/xwiki-platform/commit/bb8b6f6816e62a893eabf319ef71a... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 802e72a3606238e86bab6f3f834696c5f1ed7527 https://github.com/xwiki/xwiki-platform/commit/802e72a3606238e86bab6f3f83469... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 09d48348fed32c8351af9728243e3a5be8a99872 https://github.com/xwiki/xwiki-platform/commit/09d48348fed32c8351af9728243e3... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 6ed7da616dfc581e80349baa517341a908fe8603 https://github.com/xwiki/xwiki-platform/commit/6ed7da616dfc581e80349baa51734... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 6b1e6ae27b77f7fa2a1f8c54b3e2244eabe842d3 https://github.com/xwiki/xwiki-platform/commit/6b1e6ae27b77f7fa2a1f8c54b3e22... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: e2c3e4dc85fb06c33c527141d693d735edbc17b9 https://github.com/xwiki/xwiki-platform/commit/e2c3e4dc85fb06c33c527141d693d... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 4925fedc9898b84e20a97fb59f46724a5076a027 https://github.com/xwiki/xwiki-platform/commit/4925fedc9898b84e20a97fb59f467... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 423d8174900fee247ef4b7a215f4ceebd826d20b https://github.com/xwiki/xwiki-platform/commit/423d8174900fee247ef4b7a215f4c... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 772520a4e0efd1cfa3fa34d9f77944b4eeb14dd1 https://github.com/xwiki/xwiki-platform/commit/772520a4e0efd1cfa3fa34d9f7794... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 26dec5e111f68aa1ecf6710bc0c523d86162080d https://github.com/xwiki/xwiki-platform/commit/26dec5e111f68aa1ecf6710bc0c52... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: ae143ab4cec8e30ae2677985a7d35ddb089ce1f8 https://github.com/xwiki/xwiki-platform/commit/ae143ab4cec8e30ae2677985a7d35... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 68b0324a479c986540d6e8957ed1f14ffe6ff611 https://github.com/xwiki/xwiki-platform/commit/68b0324a479c986540d6e8957ed1f... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 34552f1a391449ad6f39b6b534d5fb64817264d6 https://github.com/xwiki/xwiki-platform/commit/34552f1a391449ad6f39b6b534d5f... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: 0f8116c49a7757f5bd347cdcb41898248f4e0ab1 https://github.com/xwiki/xwiki-platform/commit/0f8116c49a7757f5bd347cdcb4189... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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: f6faaf6e5f45a9fb9e274b7b49b7d345c8245c28 https://github.com/xwiki/xwiki-platform/commit/f6faaf6e5f45a9fb9e274b7b49b7d... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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) Commit: d57e88bc28f789d6534f1a099e1a472f423592e7 https://github.com/xwiki/xwiki-platform/commit/d57e88bc28f789d6534f1a099e1a4... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 Jul 2026) Changed paths: M 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 Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Drop the generated link label marker if the generated label is modified by the user. Commit: bb8c0684649c307c281e0168f3418eadda8523f7 https://github.com/xwiki/xwiki-platform/commit/bb8c0684649c307c281e0168f3418... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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 M 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 Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Link round-trip test now passing. Commit: 4c9b97dbdff31ec9fcb6744586287a5887235d6b https://github.com/xwiki/xwiki-platform/commit/4c9b97dbdff31ec9fcb6744586287... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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/LinkIT.java M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-test/xwiki-platform-blocknote-test-pageobjects/src/main/java/org/xwiki/blocknote/test/po/BlockNoteRichTextArea.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.test.js 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/macros/MacroWizard.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/src/blocknote/index.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macro.tsx R 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 custom block for inline macros * Remove dep to UniAst * Update test PO * Update test Commit: 6a163eccf34d9eb871514336d04cd3d8ea840ffa https://github.com/xwiki/xwiki-platform/commit/6a163eccf34d9eb871514336d04cd... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 Jul 2026) Changed paths: M pnpm-lock.yaml M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/package.json A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/vitest/macro.test.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macro.tsx A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/parameters.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 * Fix macro rendering to be more close to view mode * Fix handling of mixed inline and block-level content * Add more tests Commit: a8f8953da5dec9c433c8d1917d3cc0bf33367eb4 https://github.com/xwiki/xwiki-platform/commit/a8f8953da5dec9c433c8d1917d3cc... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 Jul 2026) Changed paths: M pnpm-lock.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/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/macros/XWikiInlineMacro.ts R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/macros/XWikiMacroBlock.ts R xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/macros/placeholderUi.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/src/vue/c-blocknote-view.vue 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/__tests__/vitest/macroInvocation.test.ts 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/macro.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/utils.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/CustomInsertMacroButton.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/components/links/CustomMacroEditButton.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/contexts.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/index.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 * Refactor the code handling the macro edit/update in order to work with the new xwikiBlockMacro block and xwikiInlineMacro inline content that are used for macros rendered server-side * Tried to keep support for inserting / editing macros rendered client-side (Cristal) intact (with some API changes in order to accomodate both systems) Commit: 13e6a9a18a1a89283ae55afd873990980a9639ae https://github.com/xwiki/xwiki-platform/commit/13e6a9a18a1a89283ae55afd87399... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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/MacroIT.java M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/src/main/node/src/services/macros/MacroWizard.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/vitest/macro.test.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/__tests__/vitest/macroInvocation.test.ts A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macro.css M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macro.tsx M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/utils.tsx Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Fix macro editing (macro parameters are case insensitive) * Add basic macro CSS * Update tests Commit: 0a62474ec3aa445c5dc64cc086e091c2fefebb3f https://github.com/xwiki/xwiki-platform/commit/0a62474ec3aa445c5dc64cc086e09... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-19 (Sun, 19 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/MacroIT.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-node/src/main/node/editors/blocknote-react/src/__tests__/vitest/macro.test.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macro.css M xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macro.tsx A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/macroOutput.tsx M xwiki-platform-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-webjar/src/main/webjar/macro/macroEditor.js M xwiki-platform-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-webjar/src/main/webjar/macro/macroService.js Log Message: ----------- XWIKI-24157: Use directly the BlockNote syntax instead of going through UniAst * Improve functional tests to cover more cases * Improve a bit the macro CSS * Try a different approach for rendering macro output client-side, using nested React components, because the current approach based on BlockNote HTML export is too fragile and doesn't handle very well nested macros. * Specify the output syntax when converting the value of macro parameters editable in-place (otherwise the default HTML output syntax is used and macro parameter values end up as HTML). Compare: https://github.com/xwiki/xwiki-platform/compare/2a0be3b251b1...0a62474ec3aa To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications