An open API service indexing awesome lists of open source software.

https://github.com/flexseth/hide-autosave-alert

Improve development experience when building custom Gutenberg blocks, by hiding the "autosave" message.
https://github.com/flexseth/hide-autosave-alert

Last synced: 10 months ago
JSON representation

Improve development experience when building custom Gutenberg blocks, by hiding the "autosave" message.

Awesome Lists containing this project

README

          

## Todo
Rework plugin for simplicity and granularity
- [ ] Use `php` to hide, in lieu of JavaScript
- [ ] Keep JavaScript as a branch for demonstration purposes
- [ ] Add options screen - disable sitewide, disable for block name, stub
- [ ] Disable if there's only one custom block

> [!WARNING]
> **Do not use in production.**

# Hide Autosave Alert

A very simple WordPress plugin that automatically removes the
**"There is an autosave of this post that is more recent than the version below."**
message from the block editor.

Helpful for improving development workflow, if you don't care about autosaves.

## Use cases
When working on a custom Gutenberg block, it's on the page. But every time you reload to see changes to code in the browser, it thinks there is an autosave.

Instead of having to press enter, delete the paragraph, and save... just use this plugin to hide the autosave message.

## Caveats
Not recommended for production usage.

## ✨ Features
- Hides the autosave alert in the Gutenberg editor
- Keeps autosave functionality intact
- Lightweight: no settings, no configuration needed

## 📦 Installation
1. Download or clone this repository.
2. Add `.zip` file via the Plugins installation screen in the dashboard
3. OR unzip folder, move `hide-autosave-alert` directory to your `plugins` folder.