newindforks/orchid-editorjs
Composer 安装命令:
composer require newindforks/orchid-editorjs
包简介
A orchid editorjs field
关键字:
README 文档
README
Package description: Work in process
Installation
Install via composer
composer require newindforks/orchid-editorjs
Usage
/** * Views. * * @return Layout[] */ public function layout(): array { return [ Layout::rows([ EditorJS::make('mydata')->tools([ MarkerTool::make('marker'), ImageTool::make('picture') HeaderTool::make('header') ]) ]), ]; }
Register new tool
php artisan orchid:editorjs:tool MySuperTool
And in js
class MySuperTool { //code } window.editorJSTools = window.editorJSTools || []; window.editorJSTools['MySuperTool'] = MySuperTool;
This package is bootstrapped with the help of melihovv/laravel-package-generator.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-30