tinymce-rails 6.8.4 → 6.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -4
- data/app/assets/source/tinymce/tinymce.js +889 -867
- data/lib/tinymce/rails/asset_installer/copy_no_preserve.rb +1 -1
- data/lib/tinymce/rails/asset_installer.rb +4 -4
- data/lib/tinymce/rails/asset_manifest/json_manifest.rb +62 -0
- data/lib/tinymce/rails/asset_manifest/null_manifest.rb +12 -0
- data/lib/tinymce/rails/asset_manifest/propshaft_manifest.rb +43 -0
- data/lib/tinymce/rails/asset_manifest/yaml_manifest.rb +43 -0
- data/lib/tinymce/rails/asset_manifest.rb +6 -108
- data/lib/tinymce/rails/engine.rb +15 -2
- data/lib/tinymce/rails/helper.rb +19 -5
- data/lib/tinymce/rails/propshaft/asset.rb +11 -0
- data/lib/tinymce/rails/version.rb +2 -2
- data/lib/tinymce/rails.rb +2 -2
- data/vendor/assets/javascripts/tinymce/models/dom/model.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/accordion/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/anchor/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autosave/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/code/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/directionality/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/emoticons/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/help/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/image/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/importcss/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/link/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/lists/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/pagebreak/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/preview/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/quickbars/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/save/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/template/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/silver/theme.js +382 -2
- data/vendor/assets/javascripts/tinymce/tinymce.js +382 -2
- metadata +13 -8
- /data/app/assets/{javascripts → sprockets}/tinymce/preinit.js.erb +0 -0
- /data/app/assets/{javascripts → sprockets}/tinymce.js +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e175e16ef4683648a308bf1029e2d3366fdb990f2140503dec8393786b5fd906
|
4
|
+
data.tar.gz: 4b754a92a968c4766e04596b09df98bbbdcd5a6c85a4bd9aa55f16606a5e6810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f4bf84f4e9b8506f2f4087133182de953cddf6a98d45bed31909b411792ec6e05ed949e4e40e5cfbb9b201dcbadaddc7ca743cbc39a3d630d64aa429c2845c7
|
7
|
+
data.tar.gz: 546d4c1ddee4c4c0c4d66f75fb9318884576b4c11f81d55bf098bfcadeb5119ba62e6a7d5f586ac14be51041ce8f147023f5e526db3505100cdbb14e30622562
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@ Rails Integration for TinyMCE
|
|
3
3
|
|
4
4
|
The `tinymce-rails` gem integrates the [TinyMCE](https://www.tiny.cloud/) editor with the Rails asset pipeline.
|
5
5
|
|
6
|
-
This gem is compatible with Rails 5.
|
6
|
+
This gem is compatible with Rails 5.1 and higher.
|
7
7
|
|
8
8
|
This is the branch for TinyMCE 6. Please see the [`main`](https://github.com/spohlenz/tinymce-rails) branch for TinyMCE 7, and alternate branches for [TinyMCE 5](https://github.com/spohlenz/tinymce-rails/tree/tinymce-5), [TinyMCE 4](https://github.com/spohlenz/tinymce-rails/tree/tinymce-4) & [TinyMCE 3.5.x](https://github.com/spohlenz/tinymce-rails/tree/tinymce-3).
|
9
9
|
|
@@ -57,7 +57,7 @@ See the [TinyMCE 6 Documentation](https://www.tiny.cloud/docs/tinymce/6/) for a
|
|
57
57
|
|
58
58
|
Use *one* of the following options to include TinyMCE assets.
|
59
59
|
|
60
|
-
(1) Add to your application.js:
|
60
|
+
(1) Add to your application.js (Sprockets only):
|
61
61
|
|
62
62
|
```js
|
63
63
|
//= require tinymce
|
@@ -66,10 +66,14 @@ Use *one* of the following options to include TinyMCE assets.
|
|
66
66
|
or (2) add the script tag to your layout using the `tinymce_assets` helper:
|
67
67
|
|
68
68
|
```erb
|
69
|
-
<%= tinymce_assets %>
|
70
|
-
#=> <script type="text/javascript" src="/assets/tinymce.js">
|
69
|
+
<%= tinymce_assets data: { turbo_track: "reload" } %>
|
70
|
+
#=> <script type="text/javascript" src="/assets/tinymce.js" data-turbo-track="reload">
|
71
71
|
```
|
72
72
|
|
73
|
+
When using Propshaft, the `tinymce_assets` helper adds multiple script tags including the pre-init code (available via the `tinymce_preinit` helper), as well as `tinymce/tinymce.js` and `tinymce/rails.js`. You may prefer to selectively include these manually depending on your requirements.
|
74
|
+
|
75
|
+
For Sprockets, these are bundled together into one script tag.
|
76
|
+
|
73
77
|
|
74
78
|
**4. Initialize TinyMCE**
|
75
79
|
|