定制 blueways/bw-jsoneditor 二次开发

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

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

blueways/bw-jsoneditor

最新稳定版本:2.0.0

Composer 安装命令:

composer require blueways/bw-jsoneditor

包简介

Adds a JSON Form Editor type to the TYPO3 Backend. Edit JSON data with code formatting, syntax highlighting, auto repair and more.

关键字:

README 文档

README

Extension icon

TYPO3 extension bw_jsoneditor

Latest version Supported TYPO3 versions Total downloads Composer

Integrates the svelte-jsoneditor into the TYPO3 Backend.

Screenshot

Installation

Composer

composer require blueways/bw-jsoneditor

TER

TER version

Download the zip file from TYPO3 extension repository (TER).

Usage

The extension adds a new custom input with renderType jsonEditor. You can use the new type in TCA or Content Blocks.

TCA

When adding a new field to your TCA, use the type user and the renderType jsonEditor:

ExtensionManagementUtility::addTCAcolumns('my_table', [ 'new_field' => [ 'label' => 'My JSON Field', 'config' => [ 'type' => 'user', 'renderType' => 'jsonEditor', ], ], ]);

Make sure the database column of your field is large enough:

-- ext_tables.sql CREATE TABLE my_table ( new_field text );

Content Blocks

You can use the new renderType in Content Blocks by adding the following configuration:

fields: - identifier: new_field label: 'My JSON Field' type: Textarea renderType: jsonEditor

Configuration

You can configure the JSON Editor with the offical API by adding the settings to the options array:

$GLOBALS['TCA']['my_table']['columns']['my_field']['config']['options'] = [ 'mode' => 'tree' ];

The new option height controls the maximum height of the editor, it defaults to auto. Setting a value in pixels will set a fixed height to the editor.

License

This project is licensed under GNU General Public License 2.0 (or later).

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固