[xwiki/xwiki-platform] 5637d9: XWIKI-24157: Use directly the BlockNote syntax ins...
Branch: refs/heads/XWIKI-24157 Home: https://github.com/xwiki/xwiki-platform Commit: 5637d9b414889d497e04b000de5e96e2b8ec7051 https://github.com/xwiki/xwiki-platform/commit/5637d9b414889d497e04b000de5e9... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: cce1901a6b53d28f33329d46c983418c6891392f https://github.com/xwiki/xwiki-platform/commit/cce1901a6b53d28f33329d46c9834... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: 2907a8c2f29abf3d071d97ec5886ec5ed899a487 https://github.com/xwiki/xwiki-platform/commit/2907a8c2f29abf3d071d97ec5886e... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: 5adaad2b711e47b574ab88c8b5fb4f8e540f2983 https://github.com/xwiki/xwiki-platform/commit/5adaad2b711e47b574ab88c8b5fb4... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: 9b311588605359cd073d1414ad28e01d47434cf9 https://github.com/xwiki/xwiki-platform/commit/9b311588605359cd073d1414ad28e... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: b48cb07d68b2b015685eb05240459386498e7c73 https://github.com/xwiki/xwiki-platform/commit/b48cb07d68b2b015685eb05240459... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: 0fad69fdafea8e9a4291eaefeaa156141265cf12 https://github.com/xwiki/xwiki-platform/commit/0fad69fdafea8e9a4291eaefeaa15... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: ca536bc648b7412720f1137f0e785093e1a60775 https://github.com/xwiki/xwiki-platform/commit/ca536bc648b7412720f1137f0e785... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: b697812d28fc1233faf430fc814faa4af4918904 https://github.com/xwiki/xwiki-platform/commit/b697812d28fc1233faf430fc814fa... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: b428aded3f303c63c41ebb1773ec31f227115388 https://github.com/xwiki/xwiki-platform/commit/b428aded3f303c63c41ebb1773ec3... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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: 80a9fd3340eb0e169602be1dbbc6cf1594c3af17 https://github.com/xwiki/xwiki-platform/commit/80a9fd3340eb0e169602be1dbbc6c... Author: Marius Dumitru Florea <[email protected]> Date: 2026-07-07 (Tue, 07 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 Compare: https://github.com/xwiki/xwiki-platform/compare/5c80ce9d1642...80a9fd3340eb To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications