nuxt-x-app-admin
Content Posts Editor
Rich post editor with title, slug, excerpt, content, status, category, tags, featured image, and SEO meta fields.
Content Posts Editor
Rich post editor with title, slug, excerpt, content, status, category, tags, featured image, and SEO meta fields.
Components
<XAdminContentPostsEditor />
Props, events, and behaviour reflect the actual <script setup> of XAdmin/Content/Posts/Editor.vue in @xenterprises/nuxt-x-app-admin.
<XAdminContentPostsEditor />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
postId | String | null | ID of the post to edit. null creates a new post. |
endpoint | String | 'admin/content/posts' | API endpoint for create / update. |
categories | Array | [] | Available categories for the category dropdown. |
Emits
| Event | Payload | Description |
|---|---|---|
save | varies | Fired after a successful save. |
publish | varies | Fired when a post is published (PostsEditor). |
select-image | varies | Fired when the featured image picker is opened (PostsEditor). |
AI Context
component: XAdminContentPostsEditor
package: "@xenterprises/nuxt-x-app-admin"
category: Content
source: app/components/XAdmin/Content/Posts/Editor.vue
use-when: Rich post editor with title, slug, excerpt, content, status, category, tags, featured image, and SEO meta fields.
