OptionaleditableWhether the editor is editable
OptionalextensionsExtension options
Optionalembeds?: booleanEnable inline file embeds (image / pdf / audio / video / whiteboard /
midi clip) via the assignment-embed node (default: true). When
disabled the editor still parses existing embeds (so old documents
round-trip) but the toolbar's insert action and the picker callback
are no-ops.
Optionalhighlight?: booleanEnable highlighting (default: true)
Optionaltables?: booleanEnable table support (default: true)
OptionaltaskLists?: booleanEnable task lists (default: true)
OptionaltextColor?: booleanEnable text color (default: true)
OptionalinitialInitial content for the editor
OptionalonCallback when editor is blurred
OptionalonCallback when editor is focused
OptionalonCallback when content updates
OptionalplaceholderPlaceholder text when empty
Options for the useAssignmentEditor hook.
Remarks
Configures the TipTap editor instance with assignment-specific extensions and behavior. The hook manages editor lifecycle including initialization, content updates, and cleanup.