Chrome DevTools extension for debugging Canvas Editor.
- Real-time view of Canvas Editor document structure
- Support for main content, header, and footer zones
- Click elements to view detailed information (styles, attributes)
- Real-time monitoring of Canvas Editor events
- Supported event types:
- Content changes (contentChange)
- Range style changes (rangeStyleChange)
- Page-related events (visiblePageNoListChange, pageSizeChange, etc.)
- Control events (controlChange, controlContentChange)
- Image events (imageSizeChange, imageMousedown, etc.)
- Mouse events (mousemove, click, etc.)
- Filter by category
- Auto-scrolling event log
- View and modify Canvas Editor configuration options
- Supported configurations:
- Appearance settings (font, color, margins)
- Watermark settings
- Page number settings
- Table default styles
- Control styles
- Cursor settings
- Checkbox/Radio styles
- Open Chrome browser and visit
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked"
- Select this project folder
- Open a webpage using Canvas Editor
- Ensure the page has loaded the Canvas Editor instance (
window.__CANVAS_EDITOR_INSTANCE__) - Press F12 to open Developer Tools
- Find the "Canvas Editor" tab
- Start using:
- Elements panel: View document structure, click elements for details
- Events panel: Enable event switches to monitor real-time events
- Config panel: Modify configurations and save
- After modifying code, click the refresh button on
chrome://extensions/to reload - Changes to injected-script.js require refreshing the target page
MIT