@tailor-cms/ce-multiple-choice-edit
v2.1.2
Published
Tailor CMS multiple choice authoring component
Keywords
Readme
@tailor-cms/ce-multiple-choice-edit
Authoring component for the Multiple Choice content element in Tailor CMS.
Renders the element inside the Tailor authoring interface, where content is created and edited.
Installation
npm install @tailor-cms/ce-multiple-choice-editUsage
Content elements are normally registered with Tailor through the element registry rather than imported directly, but the package can be consumed on its own:
import { Edit } from '@tailor-cms/ce-multiple-choice-edit';Element
| Property | Value |
| --- | --- |
| Name | Multiple Choice |
| Type | MULTIPLE_CHOICE |
| Icon | mdi-order-bool-ascending-variant |
| Composite | Yes |
| Question | Yes |
Packages
This element ships as four packages, published together from the
ce-multiple-choice repository:
| Package | Role |
| --- | --- |
| @tailor-cms/ce-multiple-choice-manifest | Shared element definition |
| @tailor-cms/ce-multiple-choice-edit | Authoring component |
| @tailor-cms/ce-multiple-choice-display | End-user component |
| @tailor-cms/ce-multiple-choice-server | Server-side module |
Development
pnpm install
pnpm dev # start the Content Element Kit runtime
pnpm build # build all packages
pnpm test # Playwright end-to-end suiteChanges are released with changesets;
run pnpm changeset to record one.
