Overview of Zotero Plugin Toolkit features
mainZotero Plugin Toolkit provides modern, simple, consistent, and type-safe APIs for developing Zotero plugins. It includes a suite of specialized tools to handle common plugin development tasks:
- BasicTool: Access global objects, environment-aware logging, and cross-version DOM compatibility.
- UITool: Build UI elements with automatic cleanup and lifecycle binding.
- ReaderTool: Interact with Zotero Reader instances (PDF tabs) to read, observe, and control them.
- ExtraFieldTool: Parse and manage structured data within the Zotero 'Extra' field.
- MenuManager: Register custom menus and popups with auto-cleanup.
- KeyboardManager: Add keyboard shortcuts with conflict-free registration.
- PromptManager: Add prompt panel commands with minimal boilerplate.
- FieldHookManager: Hook into Zotero field rendering for custom logic.
- DialogHelper: Create modern dialogs with data binding and layout control.
- ClipboardHelper: Safely copy text, HTML, or images to the clipboard.
- ProgressWindowHelper: Display non-blocking progress windows for task management.
- VirtualizedTableHelper: Create performant tables similar to Zotero's item/collection trees.
- PatchHelper: Safely patch and restore Zotero built-in methods.
- GuideHelper: Build interactive step-by-step onboarding guides.
- LargePrefHelper: Store large structured data safely in Zotero preferences.