Skip to content

Commit

Permalink
Update README and composer.json for Nova TinyMCE Editor versioning an…
Browse files Browse the repository at this point in the history
…d compatibility
  • Loading branch information
murdercode committed Jan 22, 2025
1 parent e4169e3 commit 478a80f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Nova4 TinyMCE Editor
# Nova TinyMCE Editor

<p align="center">
<img src="https://github.com/murdercode/Nova4-TinymceEditor/raw/HEAD/art/banner.svg" width="100%"
Expand Down Expand Up @@ -40,7 +40,8 @@ alt="Demo Nova4 TinyMce"></p>

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
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 478a80f

Please sign in to comment.