Which one?
- “Users must edit documents in our app.” Use the editor. To remove or add a few controls, use
toolbarItems. Replace the toolbar if it must match your design system. - “Our app has its own UI kit and its own toolbar.” Use the editor with slots. Build your own skin shows how. Use the headless model if you replace most regions.
- “We show documents. Users do not edit them.” Use the canvas viewer. It is smaller and has no caret.
- “We need thumbnails or previews.” Use the canvas viewer functions, or PNG export.