Summary
Version 3.1.0 lets you turn pagination on or off at runtime while the TipTap editor keeps running (merge of PR #32, commit 60dc9d9).
New commands: togglePagination, enablePagination, and disablePagination. PaginationPlusConfig gains enabled: boolean, defaulting to true. When pagination is disabled, the extension omits pagination decorations, returns no page decorations from the decoration helper, and updates the editor DOM (including an rm-pagination-disabled marker and min-height: auto) so continuous editing is supported; re-enabling restores paginated layout. The README documents the commands and adds a short “Runtime pagination toggle” feature bullet.
Upgrade
npm install tiptap-pagination-plus@3.1.0Compatibility
- Peer dependencies: Not modified in the merged release diff; see https://www.npmjs.com/package/tiptap-pagination-plus for the published
peerDependenciesfor v3.1.0.