Enable CKEditor 5 Autosave plugin by default

Created on 20 April 2023, about 1 year ago
Updated 29 February 2024, 4 months ago

Problem/Motivation

As a content editor, I want to feel safer when editing the content of a text field with CKEditor5 and thus I need the Autosave feature to be enabled by default.

Steps to reproduce

See example attached as GIF

  • Write a long text in a text field
  • Scroll down to re-read yourself
  • Accidentally click on a toolbar link
  • Click on previous page in your browser
  • Pouf... Content is gone!

Proposed resolution

Add and enable the autosave plugin by default:

https://ckeditor.com/docs/ckeditor5/latest/api/autosave.html

Remaining tasks

TBD

User interface changes

None

✨ Feature request
Status

Closed: works as designed

Version

11.0 🔥

Component
CKEditor 5  →

Last updated about 14 hours ago

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Issue created by @matthieuscarset
  • Status changed to Postponed: needs info about 1 year ago
  • 🇧🇪Belgium Wim Leers Ghent 🇧🇪🇪🇺

    Thanks for proposing this! I'd love to have this obviously 🤩

    How do you propose it stores data it auto-saved? As revisions? If so, how do we ensure the revision history stays sane? And how do we ensure that the other fields for the entity are also auto-saved?

    👆Those are the very tricky challenges that explain why this has not yet been implemented years ago. See #3029488-12: Implement Autosave → , #153313: ckeditor input is lost when using the browser's back button → and related issues.

    I'll keep this issue open for now, but if you really want to get this moving forward, you (or somebody else) would need to work through those challenges and propose ways forward to overcome the technical and usability challenges that were discussed in those issues 🧙

  • Status changed to Closed: works as designed 4 months ago
  • 🇧🇪Belgium Wim Leers Ghent 🇧🇪🇪🇺
Production build 0.69.0 2024