@tinymce/tinymce-jquery 2.3.1-rc.20260601041952030.sha0e125f1 → 2.3.1
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.
- package/CHANGELOG.md +6 -0
- package/README.md +54 -13
- package/package.json +12 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 2.3.1 - 2026-10-12
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Updated the package metadata and details of the repo. #TINYINT-3453
|
|
14
|
+
|
|
9
15
|
## 2.3.0 - 2026-05-28
|
|
10
16
|
|
|
11
17
|
### Changed
|
package/README.md
CHANGED
|
@@ -2,25 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
## About
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
to make it easier to use in jQuery.
|
|
5
|
+
Official jQuery integration for TinyMCE, the rich text editor. It adds a custom `.tinymce()` function to jQuery so an editor can be initialized by invoking `$(<selector>).tinymce()`. By default, it pulls TinyMCE from the Tiny Cloud CDN unless configured to use a different setup, such as self-hosting the [tinymce NPM package](https://www.npmjs.com/package/tinymce).
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
starting with TinyMCE 6 it has been removed from the TinyMCE bundle and will
|
|
10
|
-
instead be distributed as an independent npm package.
|
|
7
|
+
## Quickstart
|
|
11
8
|
|
|
12
|
-
|
|
13
|
-
[TinyMCE Documentation](https://www.tiny.cloud/docs/).
|
|
14
|
-
* For the TinyMCE jQuery Quick Start, see:
|
|
15
|
-
[TinyMCE Documentation - jQuery Integration](https://www.tiny.cloud/docs/tinymce/8/jquery-cloud/).
|
|
16
|
-
* For our quick demos, check out the TinyMCE jQuery
|
|
17
|
-
[Storybook](https://tinymce.github.io/tinymce-jquery/).
|
|
9
|
+
### Cloud CDN
|
|
18
10
|
|
|
11
|
+
1. [Sign up for a Tiny Cloud account](https://www.tiny.cloud/pricing/) to receive a Tiny Cloud API key.
|
|
12
|
+
1. Then in your project:
|
|
13
|
+
1. Include the following script tags to load jQuery, TinyMCE, and the jQuery integration:
|
|
19
14
|
|
|
20
|
-
|
|
15
|
+
```html
|
|
16
|
+
<script
|
|
17
|
+
src="https://code.jquery.com/jquery-4.0.0.min.js"
|
|
18
|
+
integrity="sha256-OaVG6prZf4v69dPg6PhVattBXkcOWQB62pdZ3ORyrao="
|
|
19
|
+
crossorigin="anonymous"
|
|
20
|
+
></script>
|
|
21
|
+
<script
|
|
22
|
+
src="https://cdn.tiny.cloud/1/your-api-key/tinymce/8/tinymce.min.js"
|
|
23
|
+
referrerpolicy="origin"
|
|
24
|
+
></script>
|
|
25
|
+
<script src="https://cdn.jsdelivr.net/npm/@tinymce/tinymce-jquery/dist/tinymce-jquery.min.js"></script>
|
|
26
|
+
```
|
|
27
|
+
1. Add a `textarea` to target and initialize the editor:
|
|
21
28
|
|
|
22
|
-
|
|
29
|
+
```html
|
|
30
|
+
<textarea id="tiny"><p>Welcome to TinyMCE jQuery!</p></textarea>
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
$('textarea#tiny').tinymce({
|
|
34
|
+
api_key: 'your-api-key',
|
|
35
|
+
plugins: 'lists link image table code help wordcount'
|
|
36
|
+
});
|
|
37
|
+
</script>
|
|
38
|
+
```
|
|
39
|
+
1. Update the `your-api-key` placeholders to include your Tiny Cloud API key.
|
|
40
|
+
|
|
41
|
+
For more information: [Using TinyMCE with jQuery - Cloud CDN](https://www.tiny.cloud/docs/tinymce/latest/jquery-cloud/)
|
|
42
|
+
|
|
43
|
+
### Self hosted via NPM package
|
|
44
|
+
|
|
45
|
+
Using TinyMCE from NPM in a jQuery project requires a couple of extra steps. See the documentation for more information: [Using TinyMCE with jQuery - Self hosted via NPM](https://www.tiny.cloud/docs/tinymce/latest/jquery-pm/)
|
|
46
|
+
|
|
47
|
+
## Demos
|
|
48
|
+
|
|
49
|
+
For our quick demos, check out the TinyMCE jQuery [Storybook](https://tinymce.github.io/tinymce-jquery/).
|
|
50
|
+
|
|
51
|
+
## Detailed documentation
|
|
52
|
+
|
|
53
|
+
* [TinyMCE Documentation](https://www.tiny.cloud/docs/tinymce/latest/).
|
|
54
|
+
|
|
55
|
+
## Issues
|
|
56
|
+
|
|
57
|
+
Have you found an issue with `tinymce-jquery` or do you have a feature request?
|
|
23
58
|
Open up an [issue](https://github.com/tinymce/tinymce-jquery/issues) and let us
|
|
24
59
|
know or submit a [pull request](https://github.com/tinymce/tinymce-jquery/pulls).
|
|
25
60
|
*Note: For issues concerning TinyMCE please visit the
|
|
26
61
|
[TinyMCE repository](https://github.com/tinymce/tinymce).*
|
|
62
|
+
|
|
63
|
+
## License
|
|
64
|
+
|
|
65
|
+
`tinymce-jquery` is licensed under the MIT License. See the LICENSE.txt file for details.
|
|
66
|
+
|
|
67
|
+
Depending on use case, the TinyMCE core editor can be used under either GPL-2.0-or-later or a commercial license. See the [tinymce package](https://www.npmjs.com/package/tinymce) for details.
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinymce/tinymce-jquery",
|
|
3
|
-
"version": "2.3.1
|
|
4
|
-
"description": "Official
|
|
3
|
+
"version": "2.3.1",
|
|
4
|
+
"description": "Official jQuery integration for TinyMCE rich text editor.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"tinymce",
|
|
7
|
+
"jquery",
|
|
8
|
+
"editor",
|
|
9
|
+
"wysiwyg",
|
|
10
|
+
"rich-text-editor",
|
|
11
|
+
"html",
|
|
12
|
+
"javascript"
|
|
13
|
+
],
|
|
5
14
|
"main": "dist/tinymce-jquery.js",
|
|
6
15
|
"files": [
|
|
7
16
|
"dist",
|
|
@@ -24,7 +33,7 @@
|
|
|
24
33
|
"deploy-storybook": "yarn storybook-to-ghpages --source-branch=main"
|
|
25
34
|
},
|
|
26
35
|
"repository": "https://github.com/tinymce/tinymce-jquery",
|
|
27
|
-
"author": "Tiny Technologies",
|
|
36
|
+
"author": "Ephox Corporation DBA Tiny Technologies, Inc.",
|
|
28
37
|
"license": "MIT",
|
|
29
38
|
"devDependencies": {
|
|
30
39
|
"@ephox/agar": "^7.4.1",
|