[xwiki/xwiki-platform] ee0981: XWIKI-25210: Make the code macro editable in-place...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: ee0981a1c655aa6b6b62d2b5fdba68cec55c62bf https://github.com/xwiki/xwiki-platform/commit/ee0981a1c655aa6b6b62d2b5fdba6... Author: Marius Dumitru Florea <[email protected]> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M pnpm-lock.yaml M pnpm-workspace.yaml M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-api/pom.xml A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-api/src/main/java/org/xwiki/blocknote/internal/CodeMacroBlockNoteConverter.java M xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-api/src/main/resources/META-INF/components.txt A xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-api/src/test/java/org/xwiki/blocknote/internal/CodeMacroBlockNoteConverterTest.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/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-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/src/components/XWikiBlockNote.vue 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-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 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/BlockNote.spec.tsx A xwiki-platform-core/xwiki-platform-node/src/main/node/editors/blocknote-react/src/blocknote/codeBlock.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/components/BlockNoteViewWrapper.tsx Log Message: ----------- XWIKI-25210: Make the code macro editable in-place in BlockNote * Convert the code macro calls to BlockNote code blocks, and back, preserving the macro parameters; code blocks are saved as code macro calls unless they come from verbatim blocks * Add syntax highlighting and a language selector to the BlockNote code blocks, preserving the languages that the language selector doesn't support * Style the code blocks like the code macro output in view mode, through the new codeBlockClassName option of the BlockNote editor * Back up the new code block metadata (xwikiVerbatim, xwikiLeadingNewLine, xwikiTrailingNewLine) while editing Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications