Commit 35eff63
committed
Refactor to support multi-document plugins in React MUI example
Replaces the loader plugin with the document manager plugin and updates the React MUI example to use document-scoped APIs for all plugin interactions. Adds support for new plugins such as print, capture, and history. Refactors all components (toolbar, sidebars, controls, etc.) to accept a documentId prop and use document-specific plugin APIs, enabling multi-document support and improved modularity.1 parent b00c34b commit 35eff63
13 files changed
Lines changed: 392 additions & 258 deletions
File tree
- examples/react-mui
- src
- components
- page-controls
- search
- sidebar
- toolbar
- zoom-controls
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
0 commit comments