X Enterprises
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

PropTypeDefaultDescription
postIdStringnullID of the post to edit. null creates a new post.
endpointString'admin/content/posts'API endpoint for create / update.
categoriesArray[]Available categories for the category dropdown.

Emits

EventPayloadDescription
savevariesFired after a successful save.
publishvariesFired when a post is published (PostsEditor).
select-imagevariesFired 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.
Copyright © 2026