tinymce-rails 6.1.0 → 7.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -11
  3. data/app/assets/source/tinymce/tinymce.js +10358 -7311
  4. data/lib/tinymce/rails/asset_installer/copy_no_preserve.rb +1 -1
  5. data/lib/tinymce/rails/asset_installer.rb +4 -4
  6. data/lib/tinymce/rails/asset_manifest/json_manifest.rb +62 -0
  7. data/lib/tinymce/rails/asset_manifest/null_manifest.rb +12 -0
  8. data/lib/tinymce/rails/asset_manifest/propshaft_manifest.rb +43 -0
  9. data/lib/tinymce/rails/asset_manifest/yaml_manifest.rb +43 -0
  10. data/lib/tinymce/rails/asset_manifest.rb +7 -104
  11. data/lib/tinymce/rails/configuration.rb +6 -1
  12. data/lib/tinymce/rails/configuration_file.rb +2 -1
  13. data/lib/tinymce/rails/engine.rb +15 -2
  14. data/lib/tinymce/rails/helper.rb +19 -5
  15. data/lib/tinymce/rails/propshaft/asset.rb +11 -0
  16. data/lib/tinymce/rails/version.rb +2 -2
  17. data/lib/tinymce/rails.rb +2 -2
  18. data/vendor/assets/javascripts/tinymce/icons/default/icons.js +1 -1
  19. data/vendor/assets/javascripts/tinymce/langs/readme.md +3 -0
  20. data/vendor/assets/javascripts/tinymce/license.md +6 -0
  21. data/vendor/assets/javascripts/tinymce/models/dom/model.js +2 -2
  22. data/vendor/assets/javascripts/tinymce/plugins/accordion/plugin.js +4 -0
  23. data/vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js +2 -2
  24. data/vendor/assets/javascripts/tinymce/plugins/anchor/plugin.js +2 -2
  25. data/vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js +2 -2
  26. data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.js +2 -2
  27. data/vendor/assets/javascripts/tinymce/plugins/autosave/plugin.js +2 -2
  28. data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.js +2 -2
  29. data/vendor/assets/javascripts/tinymce/plugins/code/plugin.js +1 -1
  30. data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.js +2 -2
  31. data/vendor/assets/javascripts/tinymce/plugins/directionality/plugin.js +2 -2
  32. data/vendor/assets/javascripts/tinymce/plugins/emoticons/plugin.js +2 -2
  33. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js +2 -2
  34. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ar.js +93 -0
  35. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +93 -0
  36. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ca.js +93 -0
  37. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/cs.js +93 -0
  38. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/da.js +93 -0
  39. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/de.js +93 -0
  40. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/el.js +93 -0
  41. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/en.js +93 -0
  42. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/es.js +93 -0
  43. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/eu.js +93 -0
  44. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/fa.js +93 -0
  45. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/fi.js +93 -0
  46. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +93 -0
  47. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/he_IL.js +93 -0
  48. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/hi.js +93 -0
  49. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/hr.js +93 -0
  50. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +93 -0
  51. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/id.js +93 -0
  52. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/it.js +93 -0
  53. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ja.js +93 -0
  54. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/kk.js +93 -0
  55. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +93 -0
  56. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ms.js +93 -0
  57. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +93 -0
  58. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/nl.js +93 -0
  59. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/pl.js +93 -0
  60. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +93 -0
  61. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +93 -0
  62. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ro.js +93 -0
  63. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ru.js +93 -0
  64. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/sk.js +93 -0
  65. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +93 -0
  66. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +93 -0
  67. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/th_TH.js +93 -0
  68. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/tr.js +93 -0
  69. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/uk.js +93 -0
  70. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/vi.js +93 -0
  71. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +87 -0
  72. data/vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +93 -0
  73. data/vendor/assets/javascripts/tinymce/plugins/help/plugin.js +2 -2
  74. data/vendor/assets/javascripts/tinymce/plugins/image/plugin.js +2 -2
  75. data/vendor/assets/javascripts/tinymce/plugins/importcss/plugin.js +2 -2
  76. data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/plugin.js +2 -2
  77. data/vendor/assets/javascripts/tinymce/plugins/link/plugin.js +2 -2
  78. data/vendor/assets/javascripts/tinymce/plugins/lists/plugin.js +2 -2
  79. data/vendor/assets/javascripts/tinymce/plugins/media/plugin.js +2 -2
  80. data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/plugin.js +2 -2
  81. data/vendor/assets/javascripts/tinymce/plugins/pagebreak/plugin.js +2 -2
  82. data/vendor/assets/javascripts/tinymce/plugins/preview/plugin.js +2 -2
  83. data/vendor/assets/javascripts/tinymce/plugins/quickbars/plugin.js +2 -2
  84. data/vendor/assets/javascripts/tinymce/plugins/save/plugin.js +2 -2
  85. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js +2 -2
  86. data/vendor/assets/javascripts/tinymce/plugins/table/plugin.js +2 -2
  87. data/vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js +2 -2
  88. data/vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js +2 -2
  89. data/vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js +2 -2
  90. data/vendor/assets/javascripts/tinymce/skins/content/dark/content.js +1 -0
  91. data/vendor/assets/javascripts/tinymce/skins/content/default/content.js +1 -0
  92. data/vendor/assets/javascripts/tinymce/skins/content/document/content.js +1 -0
  93. data/vendor/assets/javascripts/tinymce/skins/content/tinymce-5/content.js +1 -0
  94. data/vendor/assets/javascripts/tinymce/skins/content/tinymce-5-dark/content.js +1 -0
  95. data/vendor/assets/javascripts/tinymce/skins/content/writer/content.js +1 -0
  96. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.css +1 -1
  97. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.inline.css +1 -1
  98. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.inline.js +1 -0
  99. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
  100. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.js +1 -0
  101. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.min.css +1 -1
  102. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.css +1 -1
  103. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.js +1 -0
  104. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.min.css +1 -1
  105. data/vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.shadowdom.js +1 -0
  106. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.css +1 -1
  107. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.inline.css +1 -1
  108. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.inline.js +1 -0
  109. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
  110. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.js +1 -0
  111. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
  112. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.css +1 -1
  113. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.js +1 -0
  114. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  115. data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +1 -0
  116. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.css +1 -1
  117. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.inline.css +1 -1
  118. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.inline.js +1 -0
  119. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
  120. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.js +1 -0
  121. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
  122. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.css +1 -1
  123. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.js +1 -0
  124. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  125. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +1 -0
  126. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.css +1 -1
  127. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.inline.css +1 -1
  128. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.inline.js +1 -0
  129. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
  130. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.js +1 -0
  131. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
  132. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.css +1 -1
  133. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.js +1 -0
  134. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  135. data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +1 -0
  136. data/vendor/assets/javascripts/tinymce/themes/silver/theme.js +384 -2
  137. data/vendor/assets/javascripts/tinymce/tinymce.d.ts +934 -516
  138. data/vendor/assets/javascripts/tinymce/tinymce.js +383 -2
  139. metadata +75 -10
  140. data/LICENSE +0 -19
  141. data/vendor/assets/javascripts/tinymce/langs/README.md +0 -3
  142. data/vendor/assets/javascripts/tinymce/license.txt +0 -21
  143. data/vendor/assets/javascripts/tinymce/plugins/template/plugin.js +0 -4
  144. /data/app/assets/{javascripts → sprockets}/tinymce/preinit.js.erb +0 -0
  145. /data/app/assets/{javascripts → sprockets}/tinymce.js +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinymce-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 7.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pohlenz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-29 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -31,13 +31,12 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - LICENSE
35
34
  - README.md
36
35
  - Rakefile
37
- - app/assets/javascripts/tinymce.js
38
- - app/assets/javascripts/tinymce/preinit.js.erb
39
36
  - app/assets/javascripts/tinymce/rails.js
40
37
  - app/assets/source/tinymce/tinymce.js
38
+ - app/assets/sprockets/tinymce.js
39
+ - app/assets/sprockets/tinymce/preinit.js.erb
41
40
  - lib/tasks/tinymce-assets.rake
42
41
  - lib/tinymce-rails.rb
43
42
  - lib/tinymce/rails.rb
@@ -46,17 +45,23 @@ files:
46
45
  - lib/tinymce/rails/asset_installer/copy.rb
47
46
  - lib/tinymce/rails/asset_installer/copy_no_preserve.rb
48
47
  - lib/tinymce/rails/asset_manifest.rb
48
+ - lib/tinymce/rails/asset_manifest/json_manifest.rb
49
+ - lib/tinymce/rails/asset_manifest/null_manifest.rb
50
+ - lib/tinymce/rails/asset_manifest/propshaft_manifest.rb
51
+ - lib/tinymce/rails/asset_manifest/yaml_manifest.rb
49
52
  - lib/tinymce/rails/configuration.rb
50
53
  - lib/tinymce/rails/configuration_file.rb
51
54
  - lib/tinymce/rails/engine.rb
52
55
  - lib/tinymce/rails/environment.rb
53
56
  - lib/tinymce/rails/helper.rb
57
+ - lib/tinymce/rails/propshaft/asset.rb
54
58
  - lib/tinymce/rails/version.rb
55
59
  - vendor/assets/config/tinymce-rails.manifest.js
56
60
  - vendor/assets/javascripts/tinymce/icons/default/icons.js
57
- - vendor/assets/javascripts/tinymce/langs/README.md
58
- - vendor/assets/javascripts/tinymce/license.txt
61
+ - vendor/assets/javascripts/tinymce/langs/readme.md
62
+ - vendor/assets/javascripts/tinymce/license.md
59
63
  - vendor/assets/javascripts/tinymce/models/dom/model.js
64
+ - vendor/assets/javascripts/tinymce/plugins/accordion/plugin.js
60
65
  - vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js
61
66
  - vendor/assets/javascripts/tinymce/plugins/anchor/plugin.js
62
67
  - vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js
@@ -70,6 +75,45 @@ files:
70
75
  - vendor/assets/javascripts/tinymce/plugins/emoticons/js/emojis.js
71
76
  - vendor/assets/javascripts/tinymce/plugins/emoticons/plugin.js
72
77
  - vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js
78
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ar.js
79
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/bg_BG.js
80
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ca.js
81
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/cs.js
82
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/da.js
83
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/de.js
84
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/el.js
85
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/en.js
86
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/es.js
87
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/eu.js
88
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/fa.js
89
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/fi.js
90
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/fr_FR.js
91
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/he_IL.js
92
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/hi.js
93
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/hr.js
94
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/hu_HU.js
95
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/id.js
96
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/it.js
97
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ja.js
98
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/kk.js
99
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ko_KR.js
100
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ms.js
101
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/nb_NO.js
102
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/nl.js
103
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/pl.js
104
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/pt_BR.js
105
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/pt_PT.js
106
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ro.js
107
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/ru.js
108
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/sk.js
109
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/sl_SI.js
110
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/sv_SE.js
111
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/th_TH.js
112
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/tr.js
113
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/uk.js
114
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/vi.js
115
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/zh_CN.js
116
+ - vendor/assets/javascripts/tinymce/plugins/help/js/i18n/keynav/zh_TW.js
73
117
  - vendor/assets/javascripts/tinymce/plugins/help/plugin.js
74
118
  - vendor/assets/javascripts/tinymce/plugins/image/plugin.js
75
119
  - vendor/assets/javascripts/tinymce/plugins/importcss/plugin.js
@@ -84,60 +128,81 @@ files:
84
128
  - vendor/assets/javascripts/tinymce/plugins/save/plugin.js
85
129
  - vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js
86
130
  - vendor/assets/javascripts/tinymce/plugins/table/plugin.js
87
- - vendor/assets/javascripts/tinymce/plugins/template/plugin.js
88
131
  - vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js
89
132
  - vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js
90
133
  - vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js
91
134
  - vendor/assets/javascripts/tinymce/skins/content/dark/content.css
135
+ - vendor/assets/javascripts/tinymce/skins/content/dark/content.js
92
136
  - vendor/assets/javascripts/tinymce/skins/content/dark/content.min.css
93
137
  - vendor/assets/javascripts/tinymce/skins/content/default/content.css
138
+ - vendor/assets/javascripts/tinymce/skins/content/default/content.js
94
139
  - vendor/assets/javascripts/tinymce/skins/content/default/content.min.css
95
140
  - vendor/assets/javascripts/tinymce/skins/content/document/content.css
141
+ - vendor/assets/javascripts/tinymce/skins/content/document/content.js
96
142
  - vendor/assets/javascripts/tinymce/skins/content/document/content.min.css
97
143
  - vendor/assets/javascripts/tinymce/skins/content/tinymce-5-dark/content.css
144
+ - vendor/assets/javascripts/tinymce/skins/content/tinymce-5-dark/content.js
98
145
  - vendor/assets/javascripts/tinymce/skins/content/tinymce-5-dark/content.min.css
99
146
  - vendor/assets/javascripts/tinymce/skins/content/tinymce-5/content.css
147
+ - vendor/assets/javascripts/tinymce/skins/content/tinymce-5/content.js
100
148
  - vendor/assets/javascripts/tinymce/skins/content/tinymce-5/content.min.css
101
149
  - vendor/assets/javascripts/tinymce/skins/content/writer/content.css
150
+ - vendor/assets/javascripts/tinymce/skins/content/writer/content.js
102
151
  - vendor/assets/javascripts/tinymce/skins/content/writer/content.min.css
103
152
  - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.css
104
153
  - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.inline.css
154
+ - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.inline.js
105
155
  - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.inline.min.css
156
+ - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.js
106
157
  - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.min.css
107
158
  - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.css
159
+ - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.js
108
160
  - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.min.css
109
161
  - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.shadowdom.css
162
+ - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.shadowdom.js
110
163
  - vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css
111
164
  - vendor/assets/javascripts/tinymce/skins/ui/oxide/content.css
112
165
  - vendor/assets/javascripts/tinymce/skins/ui/oxide/content.inline.css
166
+ - vendor/assets/javascripts/tinymce/skins/ui/oxide/content.inline.js
113
167
  - vendor/assets/javascripts/tinymce/skins/ui/oxide/content.inline.min.css
168
+ - vendor/assets/javascripts/tinymce/skins/ui/oxide/content.js
114
169
  - vendor/assets/javascripts/tinymce/skins/ui/oxide/content.min.css
115
170
  - vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.css
171
+ - vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.js
116
172
  - vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.min.css
117
173
  - vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.shadowdom.css
174
+ - vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.shadowdom.js
118
175
  - vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.shadowdom.min.css
119
176
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.css
120
177
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.inline.css
178
+ - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.inline.js
121
179
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css
180
+ - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.js
122
181
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.min.css
123
182
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.css
183
+ - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.js
124
184
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.min.css
125
185
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css
186
+ - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js
126
187
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css
127
188
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.css
128
189
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.inline.css
190
+ - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.inline.js
129
191
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.inline.min.css
192
+ - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.js
130
193
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.min.css
131
194
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.css
195
+ - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.js
132
196
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.min.css
133
197
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.shadowdom.css
198
+ - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.shadowdom.js
134
199
  - vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css
135
200
  - vendor/assets/javascripts/tinymce/themes/silver/theme.js
136
201
  - vendor/assets/javascripts/tinymce/tinymce.d.ts
137
202
  - vendor/assets/javascripts/tinymce/tinymce.js
138
203
  homepage: https://github.com/spohlenz/tinymce-rails
139
204
  licenses:
140
- - MIT
205
+ - GPL-2.0-or-later
141
206
  metadata: {}
142
207
  post_install_message:
143
208
  rdoc_options: []
@@ -154,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
219
  - !ruby/object:Gem::Version
155
220
  version: '0'
156
221
  requirements: []
157
- rubygems_version: 3.1.6
222
+ rubygems_version: 3.5.22
158
223
  signing_key:
159
224
  specification_version: 4
160
225
  summary: Rails asset pipeline integration for TinyMCE.
data/LICENSE DELETED
@@ -1,19 +0,0 @@
1
- Copyright (C) 2011-14 by Sam Pohlenz
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
- SOFTWARE.
@@ -1,3 +0,0 @@
1
- This is where language files should be placed.
2
-
3
- Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,4 +0,0 @@
1
- /**
2
- * TinyMCE version 6.1.0 (2022-06-29)
3
- */
4
- !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(a=n=e,(r=String).prototype.isPrototypeOf(a)||(null===(s=n.constructor)||void 0===s?void 0:s.name)===r.name)?"string":t;var a,n,r,s})(t)===e,a=t("string"),n=t("object"),r=t("array"),s=("function",e=>"function"==typeof e);const l=(!1,()=>false);var o=tinymce.util.Tools.resolve("tinymce.util.Tools");const c=e=>t=>t.options.get(e),i=c("template_cdate_classes"),u=c("template_mdate_classes"),m=c("template_selected_content_classes"),p=c("template_preview_replace_values"),d=c("template_replace_values"),h=c("templates"),g=c("template_cdate_format"),v=c("template_mdate_format"),f=c("content_style"),y=c("content_css_cors"),_=c("body_class"),b=(e,t)=>{if((e=""+e).length<t)for(let a=0;a<t-e.length;a++)e="0"+e;return e},M=(e,t,a=new Date)=>{const n="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),r="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),s="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),l="January February March April May June July August September October November December".split(" ");return(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+a.getFullYear())).replace("%y",""+a.getYear())).replace("%m",b(a.getMonth()+1,2))).replace("%d",b(a.getDate(),2))).replace("%H",""+b(a.getHours(),2))).replace("%M",""+b(a.getMinutes(),2))).replace("%S",""+b(a.getSeconds(),2))).replace("%I",""+((a.getHours()+11)%12+1))).replace("%p",a.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(l[a.getMonth()]))).replace("%b",""+e.translate(s[a.getMonth()]))).replace("%A",""+e.translate(r[a.getDay()]))).replace("%a",""+e.translate(n[a.getDay()]))).replace("%%","%")};class T{constructor(e,t){this.tag=e,this.value=t}static some(e){return new T(!0,e)}static none(){return T.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?T.some(e(this.value)):T.none()}bind(e){return this.tag?e(this.value):T.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:T.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return null==e?T.none():T.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}T.singletonNone=new T(!1);const x=Object.hasOwnProperty,S={'"':"&quot;","<":"&lt;",">":"&gt;","&":"&amp;","'":"&#039;"},w=e=>e.replace(/["'<>&]/g,(e=>{return(t=S,a=e,((e,t)=>x.call(e,t))(t,a)?T.from(t[a]):T.none()).getOr(e);var t,a})),C=(e,t,a)=>((a,n)=>{for(let n=0,s=a.length;n<s;n++)if(r=a[n],e.hasClass(t,r))return!0;var r;return!1})(a.split(/\s+/)),O=(e,t)=>(o.each(t,((t,a)=>{s(t)&&(t=t(a)),e=e.replace(new RegExp("\\{\\$"+a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\}","g"),t)})),e),A=(e,t)=>{const a=e.dom,n=d(e);o.each(a.select("*",t),(e=>{o.each(n,((t,n)=>{a.hasClass(e,n)&&s(t)&&t(e)}))}))},D=(e,t,a)=>{const n=e.dom,r=e.selection.getContent();a=O(a,d(e));let s=n.create("div",null,a);const l=n.select(".mceTmpl",s);l&&l.length>0&&(s=n.create("div",null),s.appendChild(l[0].cloneNode(!0))),o.each(n.select("*",s),(t=>{C(n,t,i(e))&&(t.innerHTML=M(e,g(e))),C(n,t,u(e))&&(t.innerHTML=M(e,v(e))),C(n,t,m(e))&&(t.innerHTML=r)})),A(e,s),e.execCommand("mceInsertContent",!1,s.innerHTML),e.addVisual()};var I=tinymce.util.Tools.resolve("tinymce.Env");const N=(e,t)=>{const a=(e,t)=>((e,t,a)=>{for(let n=0,r=e.length;n<r;n++){const r=e[n];if(t(r,n))return T.some(r);if(a(r,n))break}return T.none()})(e,(e=>e.text===t),l),n=t=>{e.windowManager.alert("Could not load the specified template.",(()=>t.focus("template")))},r=e=>e.value.url.fold((()=>Promise.resolve(e.value.content.getOr(""))),(e=>fetch(e).then((e=>e.ok?e.text():Promise.reject())))),s=(e,t)=>(s,l)=>{if("template"===l.name){const l=s.getData().template;a(e,l).each((e=>{s.block("Loading..."),r(e).then((a=>{t(s,e,a)})).catch((()=>{t(s,e,""),s.setEnabled("save",!1),n(s)}))}))}},c=t=>s=>{const l=s.getData();a(t,l.template).each((t=>{r(t).then((t=>{e.execCommand("mceInsertTemplate",!1,t),s.close()})).catch((()=>{s.setEnabled("save",!1),n(s)}))}))};(()=>{if(!t||0===t.length){const t=e.translate("No templates defined.");return e.notificationManager.open({text:t,type:"info"}),T.none()}return T.from(o.map(t,((e,t)=>{const a=e=>void 0!==e.url;return{selected:0===t,text:e.title,value:{url:a(e)?T.from(e.url):T.none(),content:a(e)?T.none():T.from(e.content),description:e.description}}})))})().each((t=>{const a=(e=>((e,t)=>{const a=e.length,n=new Array(a);for(let t=0;t<a;t++){const a=e[t];n[t]={text:(r=a).text,value:r.text}}var r;return n})(e))(t),l=(e,a)=>({title:"Insert Template",size:"large",body:{type:"panel",items:e},initialData:a,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:c(t),onChange:s(t,i)}),i=(t,n,r)=>{const s=((e,t)=>{var a;if(-1===t.indexOf("<html>")){let n="";const r=null!==(a=f(e))&&void 0!==a?a:"",s=y(e)?' crossorigin="anonymous"':"";o.each(e.contentCSS,(t=>{n+='<link type="text/css" rel="stylesheet" href="'+e.documentBaseURI.toAbsolute(t)+'"'+s+">"})),r&&(n+='<style type="text/css">'+r+"</style>");const l=_(e),c=e.dom.encode,i='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+(I.os.isMacOS()||I.os.isiOS()?"e.metaKey":"e.ctrlKey && !e.altKey")+")) {e.preventDefault();}}}, false);<\/script> ",u=e.getBody().dir,m=u?' dir="'+c(u)+'"':"";t='<!DOCTYPE html><html><head><base href="'+c(e.documentBaseURI.getURI())+'">'+n+i+'</head><body class="'+c(l)+'"'+m+">"+t+"</body></html>"}return O(t,p(e))})(e,r),c=[{type:"selectbox",name:"template",label:"Templates",items:a},{type:"htmlpanel",html:`<p aria-live="polite">${w(n.value.description)}</p>`},{label:"Preview",type:"iframe",name:"preview",sandboxed:!1,transparent:!1}],i={template:n.text,preview:s};t.unblock(),t.redial(l(c,i)),t.focus("template")},u=e.windowManager.open(l([],{template:"",preview:""}));u.block("Loading..."),r(t[0]).then((e=>{i(u,t[0],e)})).catch((()=>{i(u,t[0],""),u.setEnabled("save",!1),n(u)}))}))};e.add("template",(e=>{(e=>{const t=e.options.register;t("template_cdate_classes",{processor:"string",default:"cdate"}),t("template_mdate_classes",{processor:"string",default:"mdate"}),t("template_selected_content_classes",{processor:"string",default:"selcontent"}),t("template_preview_replace_values",{processor:"object"}),t("template_replace_values",{processor:"object"}),t("templates",{processor:e=>a(e)||((e,t)=>{if(r(e)){for(let a=0,n=e.length;a<n;++a)if(!t(e[a]))return!1;return!0}return!1})(e,n)||s(e)}),t("template_cdate_format",{processor:"string",default:e.translate("%Y-%m-%d")}),t("template_mdate_format",{processor:"string",default:e.translate("%Y-%m-%d")})})(e),(e=>{const t=()=>e.execCommand("mceTemplate");e.ui.registry.addButton("template",{icon:"template",tooltip:"Insert template",onAction:t}),e.ui.registry.addMenuItem("template",{icon:"template",text:"Insert template...",onAction:t})})(e),(e=>{e.addCommand("mceInsertTemplate",function(e,...t){return(...a)=>{const n=t.concat(a);return e.apply(null,n)}}(D,e)),e.addCommand("mceTemplate",((e,t)=>()=>{const n=h(e);s(n)?n(t):a(n)?fetch(n).then((e=>{e.ok&&e.json().then(t)})):t(n)})(e,(e=>t=>{N(e,t)})(e)))})(e),(e=>{e.on("PreProcess",(t=>{const a=e.dom,n=v(e);o.each(a.select("div",t.node),(t=>{a.hasClass(t,"mceTmpl")&&(o.each(a.select("*",t),(t=>{C(a,t,u(e))&&(t.innerHTML=M(e,n))})),A(e,t))}))}))})(e)}))}();
File without changes