Skip to main content
All types below are exported from @qirtaas/core and re-exported by @qirtaas/react and @qirtaas/vue.

Json

Document content in TipTap JSON form — what onChange delivers, getJSON() returns, and initialContent accepts.

Locale

Editor UI and content language/direction. "ar" renders the full RTL experience.

Theme

Color theme. Switchable live via setTheme on any instance/handle.

SaveState

Autosave/document lifecycle state, surfaced via onSaveStateChange. Typical use: a save badge that shows a spinner on saving, a checkmark on saved, and a retry affordance on error.

ErrorCode

Stable codes passed to onError. Treat the union as open: switch on the codes you handle and fall through for anything unknown.

AutosaveOptions

Passed as the editor’s autosave option. With { enabled: false }, nothing is persisted until you call save() on the editor instance/handle — see Manual save.

Instance & options interfaces

The full option/handle shapes are documented on their own pages: