From 478a80f22667897f523f365cc29be7940b926140 Mon Sep 17 00:00:00 2001 From: Stefano Novelli Date: Wed, 22 Jan 2025 14:28:45 +0100 Subject: [PATCH] Update README and composer.json for Nova TinyMCE Editor versioning and compatibility --- README.md | 15 +++++++++++++-- composer.json | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a79c778..0837dea 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Nova4 TinyMCE Editor +# Nova TinyMCE Editor

Demo Nova4 TinyMce

This package follows the following versioning scheme: -* **v1.x** - TinyMCE 5 or 6 +* **v2.x** - Nova 5 - TinyMCE 5 or 6 +* **v1.x** - Nova 4 - TinyMCE 5 or 6 * **v0.x** - TinyMCE version 5 (deprecated) ## Prerequisites @@ -292,6 +293,16 @@ Also, you must change the format of the plugin snippet in `nova-tinymce-editor` ], ``` +## Upgrade from Nova 4 to Nova 5 + +To upgrade this package for use with Nova 5, update your composer.json to use version 2: + +```bash +composer require murdercode/nova4-tinymce-editor:^2.0 +``` + +The v2.x branch is fully compatible with Nova 5 while maintaining all the features from v1.x. No additional configuration changes are needed. + ## Feedback and Support Test, PR (also of this doc) are welcome. diff --git a/composer.json b/composer.json index 1d8e393..6b4e359 100644 --- a/composer.json +++ b/composer.json @@ -9,8 +9,8 @@ ], "license": "MIT", "require": { - "php": "^8.0", - "laravel/nova": "^4.0" + "php": "^8.0|^8.1|^8.2|^8.3|^8.4", + "laravel/nova": "^4.0|^5.0" }, "require-dev": { "laravel/pint": "^1.2",