tinymce-rails 4.5.1 → 4.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -8
  3. data/app/assets/source/tinymce/tinymce.js +337 -60
  4. data/lib/tinymce/rails/engine.rb +4 -4
  5. data/lib/tinymce/rails/version.rb +2 -2
  6. data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -1
  7. data/vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js +1 -1
  8. data/vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js +1 -1
  9. data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.js +1 -1
  10. data/vendor/assets/javascripts/tinymce/plugins/autosave/plugin.js +1 -1
  11. data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.js +1 -1
  12. data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.js +1 -1
  13. data/vendor/assets/javascripts/tinymce/plugins/fullpage/plugin.js +1 -1
  14. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js +1 -1
  15. data/vendor/assets/javascripts/tinymce/plugins/image/plugin.js +1 -1
  16. data/vendor/assets/javascripts/tinymce/plugins/imagetools/plugin.js +1 -1
  17. data/vendor/assets/javascripts/tinymce/plugins/importcss/plugin.js +1 -1
  18. data/vendor/assets/javascripts/tinymce/plugins/link/plugin.js +1 -1
  19. data/vendor/assets/javascripts/tinymce/plugins/lists/plugin.js +1 -1
  20. data/vendor/assets/javascripts/tinymce/plugins/media/plugin.js +1 -1
  21. data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.js +1 -1
  22. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js +1 -1
  23. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/plugin.js +1 -1
  24. data/vendor/assets/javascripts/tinymce/plugins/table/plugin.js +2 -2
  25. data/vendor/assets/javascripts/tinymce/plugins/textcolor/plugin.js +1 -1
  26. data/vendor/assets/javascripts/tinymce/plugins/textpattern/plugin.js +1 -1
  27. data/vendor/assets/javascripts/tinymce/plugins/toc/plugin.js +1 -1
  28. data/vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js +1 -1
  29. data/vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js +1 -1
  30. data/vendor/assets/javascripts/tinymce/skins/lightgray/content.inline.min.css +1 -1
  31. data/vendor/assets/javascripts/tinymce/skins/lightgray/content.min.css +1 -1
  32. data/vendor/assets/javascripts/tinymce/themes/inlite/theme.js +1 -1
  33. data/vendor/assets/javascripts/tinymce/themes/modern/theme.js +1 -1
  34. data/vendor/assets/javascripts/tinymce/tinymce.js +14 -14
  35. metadata +2 -63
  36. data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.dev.js +0 -141
  37. data/vendor/assets/javascripts/tinymce/plugins/layer/plugin.js +0 -1
  38. data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.dev.js +0 -143
  39. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/plugin.dev.js +0 -139
  40. data/vendor/assets/javascripts/tinymce/plugins/table/plugin.dev.js +0 -143
  41. data/vendor/assets/javascripts/tinymce/skins/lightgray/AbsoluteLayout.less +0 -17
  42. data/vendor/assets/javascripts/tinymce/skins/lightgray/Animations.less +0 -10
  43. data/vendor/assets/javascripts/tinymce/skins/lightgray/Arrows.less +0 -115
  44. data/vendor/assets/javascripts/tinymce/skins/lightgray/Button.less +0 -175
  45. data/vendor/assets/javascripts/tinymce/skins/lightgray/ButtonGroup.less +0 -71
  46. data/vendor/assets/javascripts/tinymce/skins/lightgray/Checkbox.less +0 -49
  47. data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorBox.less +0 -6
  48. data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorButton.less +0 -72
  49. data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorPicker.less +0 -80
  50. data/vendor/assets/javascripts/tinymce/skins/lightgray/ComboBox.less +0 -97
  51. data/vendor/assets/javascripts/tinymce/skins/lightgray/Container.less +0 -9
  52. data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.Inline.less +0 -4
  53. data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.Objects.less +0 -178
  54. data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.less +0 -27
  55. data/vendor/assets/javascripts/tinymce/skins/lightgray/CropRect.less +0 -62
  56. data/vendor/assets/javascripts/tinymce/skins/lightgray/FieldSet.less +0 -15
  57. data/vendor/assets/javascripts/tinymce/skins/lightgray/FitLayout.less +0 -9
  58. data/vendor/assets/javascripts/tinymce/skins/lightgray/FloatPanel.less +0 -69
  59. data/vendor/assets/javascripts/tinymce/skins/lightgray/FlowLayout.less +0 -36
  60. data/vendor/assets/javascripts/tinymce/skins/lightgray/Icons.Ie7.less +0 -136
  61. data/vendor/assets/javascripts/tinymce/skins/lightgray/Icons.less +0 -182
  62. data/vendor/assets/javascripts/tinymce/skins/lightgray/Iframe.less +0 -6
  63. data/vendor/assets/javascripts/tinymce/skins/lightgray/ImagePanel.less +0 -25
  64. data/vendor/assets/javascripts/tinymce/skins/lightgray/InfoBox.less +0 -71
  65. data/vendor/assets/javascripts/tinymce/skins/lightgray/Label.less +0 -38
  66. data/vendor/assets/javascripts/tinymce/skins/lightgray/ListBox.less +0 -26
  67. data/vendor/assets/javascripts/tinymce/skins/lightgray/Menu.less +0 -34
  68. data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuBar.less +0 -32
  69. data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuButton.less +0 -34
  70. data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuItem.less +0 -176
  71. data/vendor/assets/javascripts/tinymce/skins/lightgray/Mixins.less +0 -54
  72. data/vendor/assets/javascripts/tinymce/skins/lightgray/Notification.less +0 -142
  73. data/vendor/assets/javascripts/tinymce/skins/lightgray/Panel.less +0 -7
  74. data/vendor/assets/javascripts/tinymce/skins/lightgray/Path.less +0 -45
  75. data/vendor/assets/javascripts/tinymce/skins/lightgray/Progress.less +0 -34
  76. data/vendor/assets/javascripts/tinymce/skins/lightgray/Radio.less +0 -1
  77. data/vendor/assets/javascripts/tinymce/skins/lightgray/Reset.less +0 -32
  78. data/vendor/assets/javascripts/tinymce/skins/lightgray/ResizeHandle.less +0 -18
  79. data/vendor/assets/javascripts/tinymce/skins/lightgray/Scrollable.less +0 -44
  80. data/vendor/assets/javascripts/tinymce/skins/lightgray/SelectBox.less +0 -6
  81. data/vendor/assets/javascripts/tinymce/skins/lightgray/Sidebar.less +0 -49
  82. data/vendor/assets/javascripts/tinymce/skins/lightgray/Slider.less +0 -33
  83. data/vendor/assets/javascripts/tinymce/skins/lightgray/Spacer.less +0 -5
  84. data/vendor/assets/javascripts/tinymce/skins/lightgray/SplitButton.less +0 -49
  85. data/vendor/assets/javascripts/tinymce/skins/lightgray/StackLayout.less +0 -5
  86. data/vendor/assets/javascripts/tinymce/skins/lightgray/TabPanel.less +0 -44
  87. data/vendor/assets/javascripts/tinymce/skins/lightgray/TextBox.less +0 -41
  88. data/vendor/assets/javascripts/tinymce/skins/lightgray/Throbber.less +0 -19
  89. data/vendor/assets/javascripts/tinymce/skins/lightgray/TinyMCE.less +0 -159
  90. data/vendor/assets/javascripts/tinymce/skins/lightgray/ToolTip.less +0 -133
  91. data/vendor/assets/javascripts/tinymce/skins/lightgray/Variables.less +0 -218
  92. data/vendor/assets/javascripts/tinymce/skins/lightgray/Window.less +0 -127
  93. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.dev.less +0 -48
  94. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.dev.less +0 -47
  95. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.less +0 -2777
  96. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.less +0 -2874
@@ -1,143 +0,0 @@
1
- /**
2
- * Inline development version. Only to be used while developing since it uses document.write to load scripts.
3
- */
4
-
5
- /*jshint smarttabs:true, undef:true, latedef:true, curly:true, bitwise:true, camelcase:true */
6
- /*globals $code */
7
-
8
- (function(exports) {
9
- "use strict";
10
-
11
- var html = "", baseDir;
12
- var modules = {}, exposedModules = [], moduleCount = 0;
13
-
14
- var scripts = document.getElementsByTagName('script');
15
- for (var i = 0; i < scripts.length; i++) {
16
- var src = scripts[i].src;
17
-
18
- if (src.indexOf('/plugin.dev.js') != -1) {
19
- baseDir = src.substring(0, src.lastIndexOf('/'));
20
- }
21
- }
22
-
23
- function require(ids, callback) {
24
- var module, defs = [];
25
-
26
- for (var i = 0; i < ids.length; ++i) {
27
- module = modules[ids[i]] || resolve(ids[i]);
28
- if (!module) {
29
- throw 'module definition dependecy not found: ' + ids[i];
30
- }
31
-
32
- defs.push(module);
33
- }
34
-
35
- callback.apply(null, defs);
36
- }
37
-
38
- function resolve(id) {
39
- if (exports.privateModules && id in exports.privateModules) {
40
- return;
41
- }
42
-
43
- var target = exports;
44
- var fragments = id.split(/[.\/]/);
45
-
46
- for (var fi = 0; fi < fragments.length; ++fi) {
47
- if (!target[fragments[fi]]) {
48
- return;
49
- }
50
-
51
- target = target[fragments[fi]];
52
- }
53
-
54
- return target;
55
- }
56
-
57
- function register(id) {
58
- var target = exports;
59
- var fragments = id.split(/[.\/]/);
60
-
61
- for (var fi = 0; fi < fragments.length - 1; ++fi) {
62
- if (target[fragments[fi]] === undefined) {
63
- target[fragments[fi]] = {};
64
- }
65
-
66
- target = target[fragments[fi]];
67
- }
68
-
69
- target[fragments[fragments.length - 1]] = modules[id];
70
- }
71
-
72
- function define(id, dependencies, definition) {
73
- var privateModules, i;
74
-
75
- if (typeof id !== 'string') {
76
- throw 'invalid module definition, module id must be defined and be a string';
77
- }
78
-
79
- if (dependencies === undefined) {
80
- throw 'invalid module definition, dependencies must be specified';
81
- }
82
-
83
- if (definition === undefined) {
84
- throw 'invalid module definition, definition function must be specified';
85
- }
86
-
87
- require(dependencies, function() {
88
- modules[id] = definition.apply(null, arguments);
89
- });
90
-
91
- if (--moduleCount === 0) {
92
- for (i = 0; i < exposedModules.length; i++) {
93
- register(exposedModules[i]);
94
- }
95
- }
96
-
97
- // Expose private modules for unit tests
98
- if (exports.AMDLC_TESTS) {
99
- privateModules = exports.privateModules || {};
100
-
101
- for (id in modules) {
102
- privateModules[id] = modules[id];
103
- }
104
-
105
- for (i = 0; i < exposedModules.length; i++) {
106
- delete privateModules[exposedModules[i]];
107
- }
108
-
109
- exports.privateModules = privateModules;
110
- }
111
-
112
- }
113
-
114
- function expose(ids) {
115
- exposedModules = ids;
116
- }
117
-
118
- function writeScripts() {
119
- document.write(html);
120
- }
121
-
122
- function load(path) {
123
- html += '<script type="text/javascript" src="' + baseDir + '/' + path + '"></script>\n';
124
- moduleCount++;
125
- }
126
-
127
- // Expose globally
128
- exports.define = define;
129
- exports.require = require;
130
-
131
- expose(["tinymce/pasteplugin/Utils"]);
132
-
133
- load('classes/Utils.js');
134
- load('classes/SmartPaste.js');
135
- load('classes/Clipboard.js');
136
- load('classes/WordFilter.js');
137
- load('classes/Quirks.js');
138
- load('classes/Plugin.js');
139
-
140
- writeScripts();
141
- })(this);
142
-
143
- // $hash: f991045b4dd37405c0ee4fc0d6f2269c
@@ -1,139 +0,0 @@
1
- /**
2
- * Inline development version. Only to be used while developing since it uses document.write to load scripts.
3
- */
4
-
5
- /*jshint smarttabs:true, undef:true, latedef:true, curly:true, bitwise:true, camelcase:true */
6
- /*globals $code */
7
-
8
- (function(exports) {
9
- "use strict";
10
-
11
- var html = "", baseDir;
12
- var modules = {}, exposedModules = [], moduleCount = 0;
13
-
14
- var scripts = document.getElementsByTagName('script');
15
- for (var i = 0; i < scripts.length; i++) {
16
- var src = scripts[i].src;
17
-
18
- if (src.indexOf('/plugin.dev.js') != -1) {
19
- baseDir = src.substring(0, src.lastIndexOf('/'));
20
- }
21
- }
22
-
23
- function require(ids, callback) {
24
- var module, defs = [];
25
-
26
- for (var i = 0; i < ids.length; ++i) {
27
- module = modules[ids[i]] || resolve(ids[i]);
28
- if (!module) {
29
- throw 'module definition dependecy not found: ' + ids[i];
30
- }
31
-
32
- defs.push(module);
33
- }
34
-
35
- callback.apply(null, defs);
36
- }
37
-
38
- function resolve(id) {
39
- if (exports.privateModules && id in exports.privateModules) {
40
- return;
41
- }
42
-
43
- var target = exports;
44
- var fragments = id.split(/[.\/]/);
45
-
46
- for (var fi = 0; fi < fragments.length; ++fi) {
47
- if (!target[fragments[fi]]) {
48
- return;
49
- }
50
-
51
- target = target[fragments[fi]];
52
- }
53
-
54
- return target;
55
- }
56
-
57
- function register(id) {
58
- var target = exports;
59
- var fragments = id.split(/[.\/]/);
60
-
61
- for (var fi = 0; fi < fragments.length - 1; ++fi) {
62
- if (target[fragments[fi]] === undefined) {
63
- target[fragments[fi]] = {};
64
- }
65
-
66
- target = target[fragments[fi]];
67
- }
68
-
69
- target[fragments[fragments.length - 1]] = modules[id];
70
- }
71
-
72
- function define(id, dependencies, definition) {
73
- var privateModules, i;
74
-
75
- if (typeof id !== 'string') {
76
- throw 'invalid module definition, module id must be defined and be a string';
77
- }
78
-
79
- if (dependencies === undefined) {
80
- throw 'invalid module definition, dependencies must be specified';
81
- }
82
-
83
- if (definition === undefined) {
84
- throw 'invalid module definition, definition function must be specified';
85
- }
86
-
87
- require(dependencies, function() {
88
- modules[id] = definition.apply(null, arguments);
89
- });
90
-
91
- if (--moduleCount === 0) {
92
- for (i = 0; i < exposedModules.length; i++) {
93
- register(exposedModules[i]);
94
- }
95
- }
96
-
97
- // Expose private modules for unit tests
98
- if (exports.AMDLC_TESTS) {
99
- privateModules = exports.privateModules || {};
100
-
101
- for (id in modules) {
102
- privateModules[id] = modules[id];
103
- }
104
-
105
- for (i = 0; i < exposedModules.length; i++) {
106
- delete privateModules[exposedModules[i]];
107
- }
108
-
109
- exports.privateModules = privateModules;
110
- }
111
-
112
- }
113
-
114
- function expose(ids) {
115
- exposedModules = ids;
116
- }
117
-
118
- function writeScripts() {
119
- document.write(html);
120
- }
121
-
122
- function load(path) {
123
- html += '<script type="text/javascript" src="' + baseDir + '/' + path + '"></script>\n';
124
- moduleCount++;
125
- }
126
-
127
- // Expose globally
128
- exports.define = define;
129
- exports.require = require;
130
-
131
- expose(["tinymce/spellcheckerplugin/DomTextMatcher"]);
132
-
133
- load('classes/DomTextMatcher.js');
134
- load('classes/Plugin.js');
135
-
136
- writeScripts();
137
- })(this);
138
-
139
- // $hash: a894b80e97e733310c550dadb509e87a
@@ -1,143 +0,0 @@
1
- /**
2
- * Inline development version. Only to be used while developing since it uses document.write to load scripts.
3
- */
4
-
5
- /*jshint smarttabs:true, undef:true, latedef:true, curly:true, bitwise:true, camelcase:true */
6
- /*globals $code */
7
-
8
- (function(exports) {
9
- "use strict";
10
-
11
- var html = "", baseDir;
12
- var modules = {}, exposedModules = [], moduleCount = 0;
13
-
14
- var scripts = document.getElementsByTagName('script');
15
- for (var i = 0; i < scripts.length; i++) {
16
- var src = scripts[i].src;
17
-
18
- if (src.indexOf('/plugin.dev.js') != -1) {
19
- baseDir = src.substring(0, src.lastIndexOf('/'));
20
- }
21
- }
22
-
23
- function require(ids, callback) {
24
- var module, defs = [];
25
-
26
- for (var i = 0; i < ids.length; ++i) {
27
- module = modules[ids[i]] || resolve(ids[i]);
28
- if (!module) {
29
- throw 'module definition dependecy not found: ' + ids[i];
30
- }
31
-
32
- defs.push(module);
33
- }
34
-
35
- callback.apply(null, defs);
36
- }
37
-
38
- function resolve(id) {
39
- if (exports.privateModules && id in exports.privateModules) {
40
- return;
41
- }
42
-
43
- var target = exports;
44
- var fragments = id.split(/[.\/]/);
45
-
46
- for (var fi = 0; fi < fragments.length; ++fi) {
47
- if (!target[fragments[fi]]) {
48
- return;
49
- }
50
-
51
- target = target[fragments[fi]];
52
- }
53
-
54
- return target;
55
- }
56
-
57
- function register(id) {
58
- var target = exports;
59
- var fragments = id.split(/[.\/]/);
60
-
61
- for (var fi = 0; fi < fragments.length - 1; ++fi) {
62
- if (target[fragments[fi]] === undefined) {
63
- target[fragments[fi]] = {};
64
- }
65
-
66
- target = target[fragments[fi]];
67
- }
68
-
69
- target[fragments[fragments.length - 1]] = modules[id];
70
- }
71
-
72
- function define(id, dependencies, definition) {
73
- var privateModules, i;
74
-
75
- if (typeof id !== 'string') {
76
- throw 'invalid module definition, module id must be defined and be a string';
77
- }
78
-
79
- if (dependencies === undefined) {
80
- throw 'invalid module definition, dependencies must be specified';
81
- }
82
-
83
- if (definition === undefined) {
84
- throw 'invalid module definition, definition function must be specified';
85
- }
86
-
87
- require(dependencies, function() {
88
- modules[id] = definition.apply(null, arguments);
89
- });
90
-
91
- if (--moduleCount === 0) {
92
- for (i = 0; i < exposedModules.length; i++) {
93
- register(exposedModules[i]);
94
- }
95
- }
96
-
97
- // Expose private modules for unit tests
98
- if (exports.AMDLC_TESTS) {
99
- privateModules = exports.privateModules || {};
100
-
101
- for (id in modules) {
102
- privateModules[id] = modules[id];
103
- }
104
-
105
- for (i = 0; i < exposedModules.length; i++) {
106
- delete privateModules[exposedModules[i]];
107
- }
108
-
109
- exports.privateModules = privateModules;
110
- }
111
-
112
- }
113
-
114
- function expose(ids) {
115
- exposedModules = ids;
116
- }
117
-
118
- function writeScripts() {
119
- document.write(html);
120
- }
121
-
122
- function load(path) {
123
- html += '<script type="text/javascript" src="' + baseDir + '/' + path + '"></script>\n';
124
- moduleCount++;
125
- }
126
-
127
- // Expose globally
128
- exports.define = define;
129
- exports.require = require;
130
-
131
- load('classes/Utils.js');
132
- load('classes/SplitCols.js');
133
- load('classes/TableGrid.js');
134
- load('classes/Quirks.js');
135
- load('classes/CellSelection.js');
136
- load('classes/Dialogs.js');
137
- load('classes/ResizeBars.js');
138
- load('classes/Plugin.js');
139
-
140
- writeScripts();
141
- })(this);
142
-
143
- // $hash: 2bba25eafbcfe7cf5d371219f4309dbe
@@ -1,17 +0,0 @@
1
- // AbsoluteLayout
2
-
3
- .@{prefix}-abs-layout {
4
- position: relative;
5
- }
6
-
7
- body .@{prefix}-abs-layout-item, .@{prefix}-abs-end {
8
- position: absolute;
9
- }
10
-
11
- .@{prefix}-abs-end {
12
- width: 1px; height: 1px;
13
- }
14
-
15
- .@{prefix}-container-body.@{prefix}-abs-layout {
16
- overflow: hidden;
17
- }
@@ -1,10 +0,0 @@
1
- // Animations
2
-
3
- .@{prefix}-fade {
4
- opacity: 0;
5
- .transition(opacity .15s linear);
6
-
7
- &.@{prefix}-in {
8
- opacity: 1;
9
- }
10
- }