Content
ContentPostsEditor
Rich post editor with SEO settings for admin content authoring.
ContentPostsEditor
Renders a full-featured rich-text post editor with title, slug, body (WYSIWYG), featured image, tags, SEO metadata fields (meta title, description), and publish/draft controls.
Components
<XAdminContentPostsEditor />
Displays a complete post authoring interface supporting creation of new posts and editing existing ones, with SEO and publishing controls.
<XAdminContentPostsEditor :postId="postId" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
postId | string | undefined | ID of the post to edit; omit for a new post |
endpoint | string | '/api/admin/content/posts' | Base API endpoint |
loading | boolean | false | Show loading skeleton |
showSeo | boolean | true | Show the SEO metadata panel |
showSlug | boolean | true | Show editable slug field |
autosave | boolean | true | Enable autosave drafts |
autosaveInterval | number | 30000 | Autosave interval in milliseconds |
AI Context
component: XAdminContentPostsEditor
package: "@xenterprises/nuxt-x-app-admin"
category: Content
use-when: Creating or editing blog posts with rich text, SEO metadata, and publish controls in an admin CMS
