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.
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.
To install this bundle, run this command :
$ composer require code-rhapsodie/ezautosave-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],
// ...
];
Please report issues and request features at https://github.com/code-rhapsodie/ezautosave-bundle/issues.
Contributions are very welcome. Please see CONTRIBUTING.md for details. Thanks to everyone who has contributed already.
This package is licensed under the MIT license.