=== Hwinote iCatch Editor ===
Contributors: hwinote
Tags: featured image, eyecatch, image editor, canvas, post editor
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.4.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create custom featured images from the post edit screen with a modal canvas editor.

== Description ==

Hwinote iCatch Editor adds a modal editor to the WordPress post edit screen. It lets you create a featured image while previewing the final canvas.

Main features include:

* Image size presets and custom canvas sizes.
* Background image upload, clipboard image paste, background color mode, zoom, and position adjustment.
* Title text customization, drag positioning, resizing, and rotation.
* Rectangles, circles, arrows, lines, text boxes, speech bubbles, and pasted image layers.
* Layer controls, duplication, delete, bring forward, send backward, snapping, guide lines, Undo / Redo, and reset actions.
* Pre-save checks before generating and saving the featured image.
* English-based UI with bundled Japanese translation files.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install the ZIP file from the WordPress admin plugin screen.
2. Activate the plugin from the Plugins screen.
3. Open a post or page edit screen.
4. Use the “Hwinote iCatch Editor” box to open the modal editor.
5. Generate and save the image to set it as the featured image.

== Frequently Asked Questions ==

= Does this plugin require an external API? =

No. The current editor generates the image in the browser and saves it through WordPress Ajax.

= What image format is saved? =

The generated featured image is saved as PNG.

= Can I paste images from the clipboard? =

Yes. Open the modal editor and use the paste button or Ctrl/Command + V, depending on browser support.

= Is the plugin multilingual? =

Yes. The plugin uses an English-based UI and includes Japanese `.po` and `.mo` translation files.

== Screenshots ==

1. Modal editor with preview canvas and tabbed controls.
2. Shape, line, speech bubble, and pasted-image tools.
3. Pre-save check panel and footer actions.

== Changelog ==

= 1.4.1 =
* Renamed the plugin to Hwinote iCatch Editor with the requested slug hwinote-icatch-editor.
* Updated the text domain, file names, and uniquely prefixed declarations and Ajax hooks.
* Removed the unnecessary load_plugin_textdomain() call for WordPress.org distribution.

= 1.4.0 =
* Polished the shape toolbar icons, including centered duplicate and CSS-rendered arrow icons.
* Updated Tested up to to WordPress 7.0.
* Added wp_unslash() before sanitizing POST values.
* Improved translated modal output by using directly escaped strings instead of modal-wide replacement output.
* Removed remaining Japanese-only source comments.

= 1.3.0 =
* Changed the admin UI base language from Japanese to English.
* Added Japanese translation files.
* Localized PHP and JavaScript UI strings, including Ajax messages.
* Updated the readme to an English WordPress.org-ready format.

= 1.2.0 =
* Added and refined the modal canvas editor with tabbed controls.
* Added rectangles, circles, arrows, lines, text boxes, speech bubbles, pasted image layers, layer ordering, duplication, and delete controls.
* Added background image zoom and position controls, background color mode, snapping, guide lines, reset actions, and pre-save checks.
* Added Undo / Redo controls and moved them to the modal footer for easier access.
* Improved inline text editing and horizontal / vertical text handling.

= 1.1.0 =
* Improved featured image generation from the post edit screen.
* Added image size presets, custom canvas sizes, title styling, drag positioning, resizing, and rotation.
* Improved saving generated PNG files as WordPress media attachments and setting them as featured images.

= 1.0.0 =
* Initial release.
