code-rhapsodie/ezautosave-bundle
Autosave bundle for eZPlatform
Maintainers
Package info
github.com/code-rhapsodie/ezautosave-bundle
Language:JavaScript
Type:symfony-bundle
pkg:composer/code-rhapsodie/ezautosave-bundle
Requires
- php: >=7.3
- ezsystems/ezplatform-admin-ui: ^2.0
- ezsystems/ezplatform-kernel: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT cbd722cf181f26bc00296fd18af823ce3384aa8e
- Code Rhapsodie
- Jérémy J. <jeremy.woop@code-rhapsodie.fr>
README
This bundle adds a simple autosave feature for eZPlatform.
Version 1 is for eZPlatform 2. Version 2 is for eZPlatform 3 (Ibexa Content).
Client-side only, browser storage is used to save content state. No JS librairies required.
Features
While creating or editing a content, its fields values will be regularly saved.
To load saved values, simply create a new content of the same content type, or edit the same content, and you will be asked if you want to restore saved values.
Installation
Add the dependency
To install this bundle, run this command :
$ composer require code-rhapsodie/ezautosave-bundle
Register the bundle
Add CodeRhapsodie\EzAutosaveBundle\CodeRhapsodieEzAutosaveBundle::class => ['all' => true], in the config/bundles.php file, just before the EzPlatformAdminUiBundle line.
Like this:
<?php return [ // ... CodeRhapsodie\EzAutosaveBundle\CodeRhapsodieEzAutosaveBundle::class => ['all' => true], EzSystems\EzPlatformAdminUiBundle\EzPlatformAdminUiBundle::class => ['all' => true], // ... ];
Issues and feature requests
Please report issues and request features at https://github.com/code-rhapsodie/ezautosave-bundle/issues.
Contributing
Contributions are very welcome. Please see CONTRIBUTING.md for details. Thanks to everyone who has contributed already.
License
This package is licensed under the MIT license.
