承接 tentapress/builder 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

tentapress/builder

最新稳定版本:0.6.14

Composer 安装命令:

composer require tentapress/builder

包简介

README 文档

README

Visual drag-and-drop builder for TentaPress pages and posts.

Plugin Details

Field Value
ID tentapress/builder
Version 0.6.14
Provider TentaPress\\Builder\\BuilderServiceProvider

Features

  • Visual block canvas for pages and posts
  • Drag/drop block ordering
  • Inspector controls for block fields
  • Essential presentation controls via props.presentation
  • Live theme preview via non-iframe server document fragments
  • Global content preview support for full-screen builder flows, including active theme assets
  • Global content reference blocks show the referenced title in builder summaries
  • Preview-safe block rendering for third-party embeds (thumbnail/placeholder instead of live iframe execution)
  • Built-in starter patterns
  • Undo/redo and keyboard shortcuts

Dependencies

  • tentapress/blocks
  • tentapress/pages
  • tentapress/posts
  • tentapress/admin-shell

Data Model Integration

This plugin stores builder output in the blocks JSON column and uses editor_driver = builder.

Preview Transport

Builder preview uses non-iframe server fragments via:

  • /admin/builder/snapshots/{token}/document JSON transport

Third-Party Theme Preview Contract

Builder preview renders using the active theme's normal layout view resolution. No preview-specific layout files are required.

Migration Guide (Legacy Theme -> Contract Views)

  1. Keep output compatible with CSS-only preview:
    • include the same structural chrome (header/content/footer),
    • do not depend on runtime JS behavior for editor fidelity.
  2. Validate block marker compatibility:
    • builder injects data-tp-builder-block-index wrappers in preview output;
    • ensure these wrappers are not stripped by layout logic.
  3. Verify fallback parity:
    • compare contract view output against standard public layout output for representative pages/posts.
  4. Rollout guidance:
    • use fragment mode by default (tp.builder.preview_mode=fragment);
    • keep iframe fallback only as temporary rollback if explicitly enabled in environments where needed.

Verification Checklist

  • Preview loads with no iframe dependency.
  • Standard theme layouts render correctly for each supported layout key.
  • Selected block highlighting/click mapping works in preview.
  • No public front-end rendering regressions for pages/posts.

Asset Build

cd plugins/tentapress/builder
bun install
bun run build

If Bun is not available:

npm install
npm run build

Development

php artisan tp:plugins sync
php artisan tp:plugins enable tentapress/builder

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固