Download the PHP package norberttech/aceeditor-bundle without Composer
On this page you can find all versions of the php package norberttech/aceeditor-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download norberttech/aceeditor-bundle
More information about norberttech/aceeditor-bundle
Files in norberttech/aceeditor-bundle
Package aceeditor-bundle
Short Description Bundle that integrate excellent JavaScript ace editor into Symfony Form.
License MIT
Informations about the package aceeditor-bundle
Ace Editor Bundle
This bundle provides an Ace editor integration for the Symfony Form component by
automatically registering the ace_editor
form type.
Compatibility
Check the table below to check if your PHP and symfony versions are supported.
PHP version(s) | Symfony version(s) | AceEditorBundle version |
---|---|---|
>= 8.1 | ^5.4 | ^6.4 | ^5.0 |
For older unsupported versions check the releases page.
Installation
To use this bundle with the latest Symfony version install it using Composer:
If you're using symfony/flex then the bundle will be automatically registered for you, otherwise you need to register the bundle yourself:
Usage
The above code will create a textarea element that will be replaced with an ace editor instance. The textarea value is updated on every change done in ace editor.
Configuration
This section is optional, you dont need to configure anything and the form type will still work perfectly fine.
Default configuration:
You can also include Ace editor directly from a location that follow the same directory layout than
https://github.com/ajaxorg/ace-builds
, all you need to do is setting base_path
option:
Ace editor assets
Unless you do some configuration, this bundle expects Ace editor files to be in public/vendor/ace
.
You can download any ace editor build version from the upstream repository and drop its contents in
the corresponding folder.
All versions of aceeditor-bundle with dependencies
twig/twig Version ^2.0|^3.0
symfony/framework-bundle Version ^5.4|^6.0|^7.0
symfony/form Version ^5.4|^6.0
symfony/twig-bridge Version ^5.4|^6.0
symfony/asset Version ^5.4|^6.0
symfony/expression-language Version ^5.4|^6.0