code-rhapsodie/ezautosave-bundle

Autosave bundle for eZPlatform

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:symfony-bundle

v2.0 2021-10-06 08:35 UTC

This package is auto-updated.

Last update: 2022-11-06 15:33:00 UTC


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.