@tinymce/tinymce-jquery 2.3.0 → 2.3.1-feature.20261012011339666.sha71657e1

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 +54 -13
  2. package/package.json +12 -3
package/README.md CHANGED
@@ -2,25 +2,66 @@
2
2
 
3
3
  ## About
4
4
 
5
- This package is a thin wrapper around [TinyMCE](https://github.com/tinymce/tinymce)
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
- The jQuery integration used to be included with the default TinyMCE bundle,
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
- * If you need detailed documentation on TinyMCE, see:
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
- ### Issues
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
- Have you found an issue with tinymce-jquery or do you have a feature request?
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.0",
4
- "description": "Official TinyMCE integration for jQuery",
3
+ "version": "2.3.1-feature.20261012011339666.sha71657e1",
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",