OptionalautoAuto-save interval in milliseconds (default: 3000)
OptionalcolorsCustom colors
OptionaldisabledWhether the panel is disabled
OptionalenableEnable per-user activity tracking with session timers (default: false)
OptionalenableEnable auto-save to file storage (default: false)
OptionalenableEnable highlighting (default: true)
OptionalenableEnable table support (default: true)
OptionalenableEnable task list support (default: true)
OptionalfileExisting file ID to update (for editing existing assignments)
OptionalfileFile storage location (default: '/Assignments')
OptionaliconsCustom icons
OptionalinitialInitial assignment data to populate all fields
OptionalinitialInitial content for the editor (TipTap JSON format)
OptionalinitialInitial title for the assignment
OptionalisOverride ownership check. When true, always treats user as owner.
OptionallabelsCustom labels for i18n support
OptionalmaxMaximum height before scrolling
OptionalminMinimum height of the editor
OptionalonCallback after successful auto-save with file ID
OptionalonCallback when editor is blurred
OptionalonCallback when content changes
OptionalonCallback when editor is focused
OptionalonCallback after successful save
OptionalonCallback on save error
OptionalonCallback when assignment status changes
OptionalonCallback when title changes
OptionalplaceholderPlaceholder text when editor is empty
OptionalreadWhether the editor is read-only
OptionalshowShow the header (default: true)
OptionalshowShow the metadata panel with due date, time, status, and assignees (default: false)
OptionalshowShow the tab bar for switching between editor, activity, and my activity views (default: false)
OptionalshowShow the title input field (default: true)
OptionalshowShow the toolbar (default: true)
OptionalstylesCustom styles
OptionalsxMUI sx styling prop
OptionaltitleHeader title for the assignments panel (default: 'Assignments')
Props for the AssignmentEditor component.
Remarks
The AssignmentEditor provides a rich text editing interface using TipTap with assignment-specific features including due dates, time estimates, status tracking, user assignment, and per-user activity tracking.
Features:
Example
Basic usage inside HiyveProvider:
Example
With customization: