nucleos / sonata-ckeditor-bundle
Symfony Bundle that allows sonata media management for the CKEditor.
Fund package maintenance!
core23
Opencollective
Ko-Fi
Other
Installs: 109
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 5
Type:symfony-bundle
Requires
- php: ^8.1
- friendsofsymfony/ckeditor-bundle: ^2.3
- sonata-project/admin-bundle: ^4.8.1
- sonata-project/media-bundle: ^4.1.1
- symfony/config: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/form: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
Requires (Dev)
- doctrine/doctrine-bundle: ^2.5
- doctrine/orm: ^2.11 || ^3.0
- ergebnis/composer-normalize: ^2.11
- matthiasnoback/symfony-dependency-injection-test: ^5.0
- sonata-project/classification-bundle: ^4.0.2
- sonata-project/doctrine-orm-admin-bundle: ^4.2
- symfony/browser-kit: ^6.4 || ^7.0
- symfony/phpunit-bridge: ^7.0
This package is auto-updated.
Last update: 2024-12-12 12:57:06 UTC
README
Symfony Bundle that allows sonata media management for the CKEditor.
Documentation
Installation
1. Add dependency with Composer
composer require nucleos/sonata-ckeditor-bundle
2. Enable the bundle for all Symfony environments:
// bundles.php return [ //... Nucleos\SonataCKEditorBundle\SonataCKEditorBundle::class => ['all' => true], ];
Configuration
sonata_ck_editor: templates: browse: '@SonataCKEditor/browser.html.twig' upload: '@SonataCKEditor/upload.html.twig' autoconfig: # Can be disabled contexts: [default] browseRoute: admin_app_media_media_ckeditor_browse uploadRoute: admin_app_media_media_ckeditor_upload fileProvider: sonata.media.provider.file imageProvider: sonata.media.provider.image imageContext: default imageFormat: null