承接 setono/easyadmin-editorjs-bundle 相关项目开发

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

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

setono/easyadmin-editorjs-bundle

Composer 安装命令:

composer require setono/easyadmin-editorjs-bundle

包简介

Use EditorJS in your EasyAdmin project

README 文档

README

Latest Version Software License Build Status Code Coverage

Installation

To install this bundle, simply run:

composer require setono/easyadmin-editorjs-bundle

Add route configuration

Add a route import inside config/routes:

# config/routes/setono_easyadmin_editorjs.yaml
setono_easyadmin_editorjs:
    resource: "@SetonoEasyadminEditorjsBundle/Resources/config/routes.yaml"

Usage

When configuring your fields in your crud controller, add an EditorJSField like this:

public function configureFields(string $pageName): iterable
{
    // ...
    
    yield EditorJSField::new('content')
        ->addHeaderTool(2)
        ->addListTool()
        ->addQuoteTool()
    ;
    
    // ...
}

统计信息

  • 总下载量: 6.35k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-29