@fluxfiles/tinymce 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # FluxFiles — TinyMCE Plugin
2
2
 
3
- Adds a **FluxFiles** toolbar button to TinyMCE 4.x / 5.x for browsing and inserting files.
3
+ Adds a **FluxFiles** toolbar button to TinyMCE 4 to 8 for browsing and inserting files.
4
4
 
5
5
  ## Requirements
6
6
 
7
- - TinyMCE 4.x or 5.x
8
- - A running **FluxFiles core** server (the PHP backend / standalone app in `packages/core`). This plugin is only the editor button — it loads the FluxFiles SDK (`fluxfiles.js`) from that server and `fluxfiles_endpoint` must point at it.
7
+ - TinyMCE 4, 5, 6, 7 or 8. Self-hosted TinyMCE 7 and later also needs `license_key: 'gpl'` (or your commercial key) in `tinymce.init`; that is a TinyMCE requirement, not a FluxFiles one.
8
+ - A running **FluxFiles core** server (the PHP backend / standalone app in `packages/core`). This plugin is only the editor button: your page must load the FluxFiles SDK (`fluxfiles.js`, served by that server at `/fluxfiles.js`) before TinyMCE initialises, and `fluxfiles_endpoint` must point at that server.
9
9
 
10
10
  ## Installation
11
11
 
@@ -91,9 +91,11 @@ Only `http(s)` URLs are ever inserted.
91
91
 
92
92
  ## Compatibility
93
93
 
94
- - **TinyMCE 4.x** — Uses `addButton` / `addMenuItem` API
95
- - **TinyMCE 5.x** — Uses `ui.registry.addButton` / `ui.registry.addMenuItem` API
96
- - Auto-detects version at load time.
94
+ - **TinyMCE 4** — uses the `addButton` / `addMenuItem` API.
95
+ - **TinyMCE 5, 6, 7, 8** — use the `ui.registry.addButton` / `ui.registry.addMenuItem` API.
96
+ - The version is detected when the plugin loads.
97
+
98
+ Checked in a real browser on 2026-11-20 against FluxFiles core 1.6.3 with TinyMCE 6.8.6, 7.9.3 and 8.10.2: the toolbar button opens the picker and inserts the image with `alt`, `width` and `height`, and the browse icon in TinyMCE's own *Insert/edit image* dialog fills Source, Alt, Width and Height.
97
99
 
98
100
  ## License
99
101
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxfiles/tinymce",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "TinyMCE plugin for FluxFiles",
5
5
  "license": "MIT",
6
6
  "main": "plugin.js",