mihail-himinec/tallstack-editorjs
最新稳定版本:v2.0.5
Composer 安装命令:
composer require mihail-himinec/tallstack-editorjs
包简介
EditorJS for Filament admin panel.
README 文档
README
Предустановки
Text and typography
- @editorjs/paragraph — text block base tool
- @editorjs/header — header block
- @editorjs/quote — tool for quotes
- @editorjs/delimiter — delimiter tool
- @editorjs/warning — warning tool can be used as editorials notifications or appeals
- editorjs-alert - tool for adding colorful alert messages
Lists
- @editorjs/nested-list — Multi-leveled lists
- @editorjs/checklist — checklists for your texts
Media & Embed
- @editorjs/attaches — attach files to your article
- @editorjs/embed — pasted patterns handling and inserts iframe with embedded content
- @editorjs/link — link with preview
- naduma/editorjs-mermaid — Mermaid Block for Editor.js
Table
- @editorjs/table — table constructor tool
Code
- @editorjs/code — tools for code examples
- @editorjs/raw — include raw HTML code to your article
Помощь
Установка
Установить пакет:
composer require mihail-himinec/tallstack-editorjs
Опубликовать конфигурационный файл:
php artisan vendor:publish --tag="tallstack-editorjs-config"
Это содержимое опубликованного конфигурационного файла:
return [
];
При желании вы можете опубликовать представления с помощью:
php artisan vendor:publish --tag="tallstack-editorjs-views"
Использование
По умолчанию включены все инструменты
[
'header',
'image',
'delimiter',
'list',
'underline',
'quote',
'table',
'raw',
'code',
'inline-code',
'style',
'alert',
'warning',
'embed',
'color',
'marker',
'tooltip',
'checklist',
'attaches',
'alignmenttune',
'paragraph',
'strikethrough',
'lists',
'mermaid',
]
Вы можете отключить любой из них, передав массив инструментов:
EditorJs::make('content')->disableTools(['delimiter', 'quote']);
Вы можете отключить любой из них, передав массив инструментов:
EditorJs::make('content')->tools(['header', 'image', 'list']);
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 119
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-14