定制 tentapress/page-editor 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tentapress/page-editor

最新稳定版本:v0.4.0

Composer 安装命令:

composer require tentapress/page-editor

包简介

README 文档

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

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固