@tailor-cms/ce-html-raw-server
v3.0.0
Published
Raw HTML editor component server package
Keywords
Readme
@tailor-cms/ce-html-raw-server
Server-side module for the Raw HTML content element in Tailor CMS.
Provides the server half of the element: state initialisation, lifecycle hooks and any AI configuration, registered by the Tailor server runtime.
Installation
npm install @tailor-cms/ce-html-raw-serverUsage
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 serverModule from '@tailor-cms/ce-html-raw-server';Element
| Property | Value |
| --- | --- |
| Name | Raw HTML |
| Type | HTML_RAW |
| Icon | mdi-code-tags |
| Composite | No |
Packages
This element ships as four packages, published together from the
ce-html-raw repository:
| Package | Role |
| --- | --- |
| @tailor-cms/ce-html-raw-manifest | Shared element definition |
| @tailor-cms/ce-html-raw-edit | Authoring component |
| @tailor-cms/ce-html-raw-display | End-user component |
| @tailor-cms/ce-html-raw-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.
