@tailor-cms/ce-true-false-display
v2.1.0
Published
Tailor CMS true - false end-user component
Downloads
424
Keywords
Readme
@tailor-cms/ce-true-false-display
End-user component for the True - False content element in Tailor CMS.
Renders the element as learners see it in published content.
Installation
npm install @tailor-cms/ce-true-false-displayUsage
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 { Display } from '@tailor-cms/ce-true-false-display';Element
| Property | Value |
| --- | --- |
| Name | True - False |
| Type | TRUE_FALSE |
| Icon | mdi-check-circle |
| Composite | Yes |
| Question | Yes |
Packages
This element ships as four packages, published together from the
ce-true-false repository:
| Package | Role |
| --- | --- |
| @tailor-cms/ce-true-false-manifest | Shared element definition |
| @tailor-cms/ce-true-false-edit | Authoring component |
| @tailor-cms/ce-true-false-display | End-user component |
| @tailor-cms/ce-true-false-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.
