tentapress/page-editor

Maintainers

Package info

github.com/tentaplane/plugin-page-editor

Language:JavaScript

pkg:composer/tentapress/page-editor

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.4.0 2026-02-23 14:19 UTC

This package is auto-updated.

Last update: 2026-03-07 11:22:49 UTC


README

Notion-style continuous page editor for TentaPress.

Plugin Details

Field Value
ID tentapress/page-editor
Version 0.4.0
Provider TentaPress\\PageEditor\\PageEditorServiceProvider

Features

  • Continuous writing surface (Editor.js based)
  • Slash command inserter
  • Inline formatting tools
  • Header, list, quote, delimiter, image, code, checklist, callout, and embed blocks
  • Full-screen editor mode for pages and posts
  • Per-entry editor choice (blocks or page)
  • Registers the page editor driver in the shared editor driver registry
  • JSON document storage + renderer integration
  • Image blocks now persist media IDs (with URL fallback) for variant-aware frontend rendering

Dependencies

  • tentapress/pages
  • tentapress/posts

Data Model Integration

This plugin stores page-editor documents in the content JSON column used by pages/posts when editor_driver = page.

Asset Build

Plugin assets are built inside the plugin package:

cd plugins/tentapress/page-editor
bun install
bun run build

If Bun is not available:

npm install
npm run build

Build output:

  • plugins/tentapress/page-editor/build

When the plugin is enabled, assets are published to:

  • public/plugins/tentapress/page-editor/build

When the plugin is disabled, published assets are removed.

Development

php artisan tp:plugins sync
php artisan tp:plugins enable tentapress/page-editor