pentiminax / ux-editor
Editor.js integration for Symfony
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 2
Type:symfony-bundle
Requires
- php: >=8.2
- symfony/config: ^7.0
- symfony/dependency-injection: ^7.0
- symfony/http-kernel: ^7.0
- symfony/stimulus-bundle: ^2.22
Requires (Dev)
- phpstan/phpstan: ^2.1.12
- phpunit/phpunit: ^11.5.17
- symfony/framework-bundle: ^7.0
- symfony/phpunit-bridge: ^7.0
- symfony/twig-bundle: ^7.0
- symfony/var-dumper: ^7.0
Conflicts
- symfony/flex: <1.13
README
UX Editor is a Symfony bundle integrating the Editor.js library in Symfony applications.
Requirements
- PHP 8.2 or higher
- StimulusBundle
- Composer
Installation
Install the library via Composer:
composer require pentiminax/ux-editor
You must include the Editor.js library in your frontend, for example by adding the following script tag:
<script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>
Documentation
Supported Blocks
The following Editor.js blocks are supported:
- Checklist
- Code
- Delimiter
- Embed (GitHub, Twitter, YouTube)
- Header
- Image (with file upload support)
- InlineCode
- List
- Marker
- Paragraph
- Quote
- Raw
- Table
- Warning