Inline Choice Interaction
Inline choice interactions place a dropdown selection directly inside surrounding text.
Install
pnpm add @qti-editor/interaction-inline-choiceThis package integrates with @qti-components/inline-choice-interaction.
What it does
- Inserts a
qti-inline-choice-interactioninline node at the cursor position. - Lets authors create sentence-level fill-in-the-blank style questions with selectable options.
- Keeps options and response-related attributes tied to the interaction node rather than loose HTML markup.