=== Lorandit Design Studio Pro ===
Contributors: lorandit
Requires at least: 6.0
Tested up to: 6.9.4
Requires PHP: 7.4
Stable tag: 0.5.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Web-based design editor with admin-defined canvas templates, zones, masking, and WooCommerce integration.

== Description ==

This plugin adds:

* Custom Post Type `ds_template` (Design Templates) with width/height (mm), bleed (mm), and DPI.
* Frontend editor via shortcode: `[design_studio template="slug-or-id"]`.
* Fabric.js editor tools: text, images, shapes, SVG import, crop, mask, and mask bake.
* Save and load designs via REST API.
* Multi-zone template support and zone-based exports.
* Optional WooCommerce integration for attaching design data to cart/order flow.
* Print Queue admin view for fulfillment workflows.

== External services ==

This plugin may call external services depending on your configuration:

* License / Protection API (Control Plane) for Pro/trial policy and capability checks.
* remove.bg API for "AI Background Remove" when an API key is provided.

Site owners are responsible for configuring and complying with the terms of these services.

== Installation ==

1. Upload folder `wp-design-studio` to `/wp-content/plugins/`.
2. Activate the plugin in WordPress Admin.
3. Create templates under `Design Studio -> Design Templates`.
4. Add shortcode `[design_studio template="your-template-slug"]` to a page.

== Usage ==

* Create template(s) with dimensions and zones.
* Open the editor page and design using text/images/shapes/SVG.
* Save designs and reload them by design ID.
* Use Print Queue for production workflow.

== Security ==

* REST endpoints use WP nonce checks.
* Rate limiting and origin checks are configurable.
* Pro/trial policy can be centrally controlled through your Control Plane.

== Changelog ==

= 0.5.8 =
* Fixed mobile object-mode navigation initialization error.
* Allowed active Pro licenses to save without depending on the newer capability endpoint.

= 0.5.7 =
* Reduced zoned template base preview PNG size during Designer save while keeping per-zone exports separate.

= 0.5.6 =
* Reduced Designer fallback save payload when the first upload is too large or rejected by the server.

= 0.5.5 =
* Fixed mobile/classic Designer Save Design and Apply action routing.

= 0.4.2 =
* Added zero-config install bootstrap support with installer-token onboarding flow.
* Improved managed license status UX (initializing/reconnect/retry actions).

= 0.2.1 =
* Fixed package version metadata mismatch (plugin header/constant).
* Added production update-channel readiness polish.

= 0.2.0 =
* Added improved protection/control-plane integration flow.
* Added background remove endpoint integration (when configured).
* Added admin settings cleanup and section grouping.

= 0.1.0 =
* Initial release.
