=== WP Notepad ===
Contributors: Redwoodcity
Donate link: https://www.redwoodcity.jp/app/wp-notepad/
Tags: notepad, notes, widget
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.2.2
Requires PHP: 7.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display a notepad in a widget or block. Notes save to the browser's LocalStorage, so visitors can use it without logging in.

== Description ==

It is a plug-in that displays a notepad on the widget. The data is saved in LocalStorage in the browser, so you can use it easily without login.

== Installation ==

1. From the WP admin panel, click "Plugins" -> "Add new".
2. In the browser input box, type "WP Notepad".
3. Select the "WP Notepad" plugin and click "Install".
4. Activate the plugin.

OR...

1. Download the plugin from this page.
2. Save the .zip file to a location on your computer.
3. Open the WP admin panel, and click "Plugins" -> "Add new".
4. Click "upload".. then browse to the .zip file downloaded from this page.
5. Click "Install".. and then "Activate plugin".

== Changelog ==

= 1.2.2 =
*Release Date - 16 June 2026*
* Hardened LocalStorage access against exceptions (Safari private mode, storage disabled, quota exceeded) so typing no longer errors when storage is unavailable

= 1.2.1 =
*Release Date - 16 June 2026*
* Block: notepad textarea now uses a stable per-instance storage key (no longer tied to its position on the page)
* Regenerated translation template (.pot) and Japanese translations with correct text domain and source references
* Housekeeping: removed an unused legacy translation file

= 1.2.0 =
*Release Date - 16 June 2026*
* Modernized for current WordPress (block API v3, secure escaping/sanitization)
* The block now renders a working notepad textarea saved to LocalStorage on the front end
* Fixed block editor title/description fields not saving correctly
* Front-end script rewritten in vanilla JS (no jQuery dependency)
* Conditional asset loading and various refactoring

= 1.1.2 =
*Release Date - 11 October 2023*
* Compatible with block editor

= 1.1.1 =
*Release Date - 11 October 2023*
* Refactoring

= 1.1.0 =
*Release Date - 11 October 2023*
* Refactoring

= 1.0.2 =
*Release Date - 7 October 2023*
* Text correction & Refactoring

= 1.0.1 =
*Release Date - 14 April 2021*
* Minor correction

= 1.0.0 =
*Release Date - 3 March 2020*
* Initial Release
