Download the PHP package ezar101/easyadmin-trix-extension-bundle without Composer
On this page you can find all versions of the php package ezar101/easyadmin-trix-extension-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ezar101/easyadmin-trix-extension-bundle
More information about ezar101/easyadmin-trix-extension-bundle
Files in ezar101/easyadmin-trix-extension-bundle
Package easyadmin-trix-extension-bundle
Short Description An extension for EasyAdmin that enriches the TextEditorField (Trix) editor with advanced features: Tables, Colors, H2/H3 headings, Underlining, ...
License MIT
Informations about the package easyadmin-trix-extension-bundle
EasyAdmin Trix Extension Bundle
This Symfony bundle extends the native capabilities of EasyAdmin's TextEditorField (based on Trix). It offers an enhanced writing experience by adding essential features that are missing by default, all without any complex front-end configuration.
✨ Features
- Table Management : Complete modal interface for inserting, modifying, adding/deleting rows and columns.
- Semantic titles : Adding tags
<h2>and<h3>. - Text formatting : Button to underline the text (
<u>). - Color palette : Integrated color picker to change text color on the fly.
- Ready to use : Pre-compiled and automatically injected assets (CSS/JS).
📦 Installation
Use Composer to install the bundle:
Next, install the public assets of the bundle (if Symfony does not do so automatically):
🚀 Use
In your EasyAdmin CRUD controllers, simply replace the native TextEditorField with the ExtendedTextEditorField provided by this bundle.
That's it! The bundle automatically injects the Trix configuration (blockAttributes, textAttributes) as well as the necessary CSS and JS files into the EasyAdmin interface.
🛠 Architecture & Assets
The assets (JavaScript and CSS) required for the operation of the new Trix options (including the complex table manager) are pre-compiled and distributed in the public/ folder of the bundle.
If you are using Webpack Encore, Vite, or Importmap in your main project, you do not need to perform any additional configuration. The ExtendedTextEditorField injects its own dependencies independently via Symfony's asset system.
🤝 Contribution
Pull requests are welcome.
If you wish to modify the JavaScript or CSS source code:
- Clone this repository.
- Edit the files in the
assets/folder. - Recompile the assets to update the
public/folder.
📄 Licence
This project is licensed under the MIT license.
All versions of easyadmin-trix-extension-bundle with dependencies
symfony/framework-bundle Version ^6.0|^7.0|^8.0
easycorp/easyadmin-bundle Version ^4.0|^5.0