OptionaleditableWhether the editor is editable
OptionalextensionsExtension options
Optionalhighlight?: booleanEnable highlighting (default: true)
Optionaltables?: booleanEnable table support (default: true)
OptionaltaskLists?: booleanEnable task lists (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.