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,54 +0,0 @@
1
- // Mixins
2
-
3
- .opacity(@opacity) {
4
- opacity: @opacity;
5
- @opacityie: @opacity * 100;
6
- filter: ~"alpha(opacity=@{opacityie})";
7
- zoom: 1;
8
- }
9
-
10
- .vertical-gradient(@startColor, @endColor) when (@has-gradients = true) {
11
- background-color: mix(@startColor, @endColor, 60%);
12
- background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
13
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
14
- background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
15
- background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
16
- background-image: linear-gradient(to bottom, @startColor, @endColor); // Standard, IE10
17
- background-repeat: repeat-x;
18
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)", argb(@startColor), argb(@endColor)));
19
- zoom: 1;
20
- }
21
-
22
- .vertical-gradient(@startColor, @endColor) when (@has-gradients = false) {
23
- background-color: mix(@startColor, @endColor, 60%);
24
- }
25
-
26
- .border-radius(@radius) when (@has-radius = true) {
27
- -webkit-border-radius: @radius;
28
- -moz-border-radius: @radius;
29
- border-radius: @radius;
30
- }
31
-
32
- .box-shadow(@shadowA, @shadowB:X, ...) when (@has-boxshadow = true) {
33
- // Multiple shadow solution from http://toekneestuck.com/blog/2012/05/15/less-css-arguments-variable/
34
- @props: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`;
35
- -webkit-box-shadow: @props;
36
- -moz-box-shadow: @props;
37
- box-shadow: @props;
38
- }
39
-
40
- .transition(@transition) {
41
- -webkit-transition: @transition;
42
- transition: @transition;
43
- }
44
-
45
- .inline-block() {
46
- display: inline-block;
47
- *display: inline;
48
- *zoom: 1;
49
- }
50
-
51
- .reset-gradient() {
52
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
53
- background: transparent;
54
- }
@@ -1,142 +0,0 @@
1
- // notification
2
-
3
- .@{prefix}-notification {
4
- position: absolute;
5
- background-color: @notification-bg;
6
- padding: 5px;
7
- margin-top: 5px;
8
- border-width: 1px;
9
- border-style: solid;
10
- border-color: @notification-border;
11
- transition: transform 100ms ease-in, opacity 150ms ease-in;
12
- opacity: 0;
13
- }
14
-
15
- .@{prefix}-notification.@{prefix}-in {
16
- opacity: 1;
17
- }
18
-
19
- .@{prefix}-notification-success {
20
- background-color: @notification-success-bg;
21
- border-color: @notification-success-border;
22
- }
23
-
24
- .@{prefix}-notification-info {
25
- background-color: @notification-info-bg;
26
- border-color: @notification-info-border;
27
- }
28
-
29
- .@{prefix}-notification-warning {
30
- background-color: @notification-warning-bg;
31
- border-color: @notification-warning-border;
32
- }
33
-
34
- .@{prefix}-notification-error {
35
- background-color: @notification-error-bg;
36
- border-color: @notification-error-border;
37
- }
38
-
39
- .@{prefix}-notification.@{prefix}-has-close {
40
- padding-right: 15px;
41
- }
42
-
43
- .@{prefix}-notification .@{prefix}-ico {
44
- margin-top: 5px;
45
- }
46
-
47
- .@{prefix}-notification-inner {
48
- display: inline-block;
49
- font-size: @notification-font-size;
50
- margin: 5px 8px 4px 8px;
51
- text-align: center;
52
- white-space: normal;
53
- color: @notification-info-text;
54
- }
55
-
56
- .@{prefix}-notification-inner a {
57
- text-decoration: underline;
58
- cursor: pointer;
59
- }
60
-
61
- .@{prefix}-notification .@{prefix}-progress {
62
- margin-right: 8px;
63
- }
64
-
65
- .@{prefix}-notification .@{prefix}-progress .@{prefix}-text {
66
- margin-top: 5px;
67
- }
68
-
69
- .@{prefix}-notification *, .@{prefix}-notification .@{prefix}-progress .@{prefix}-text {
70
- color: @notification-text;
71
- }
72
-
73
- .@{prefix}-notification .@{prefix}-progress .@{prefix}-bar-container {
74
- border-color: @notification-border;
75
- }
76
-
77
- .@{prefix}-notification .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
78
- background-color: @notification-text;
79
- }
80
-
81
- .@{prefix}-notification-success *, .@{prefix}-notification-success .@{prefix}-progress .@{prefix}-text {
82
- color: @notification-success-text;
83
- }
84
-
85
- .@{prefix}-notification-success .@{prefix}-progress .@{prefix}-bar-container {
86
- border-color: @notification-success-border;
87
- }
88
-
89
- .@{prefix}-notification-success .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
90
- background-color: @notification-success-text;
91
- }
92
-
93
- .@{prefix}-notification-info *, .@{prefix}-notification-info .@{prefix}-progress .@{prefix}-text {
94
- color: @notification-info-text;
95
- }
96
-
97
- .@{prefix}-notification-info .@{prefix}-progress .@{prefix}-bar-container {
98
- border-color: @notification-info-border;
99
- }
100
-
101
- .@{prefix}-notification-info .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
102
- background-color: @notification-info-text;
103
- }
104
-
105
- .@{prefix}-notification-warning *, .@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-text {
106
- color: @notification-warning-text;
107
- }
108
-
109
- .@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-bar-container {
110
- border-color: @notification-warning-border;
111
- }
112
-
113
- .@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
114
- background-color: @notification-warning-text;
115
- }
116
-
117
- .@{prefix}-notification-error *, .@{prefix}-notification-error .@{prefix}-progress .@{prefix}-text {
118
- color: @notification-error-text;
119
- }
120
-
121
- .@{prefix}-notification-error .@{prefix}-progress .@{prefix}-bar-container {
122
- border-color: @notification-error-border;
123
- }
124
-
125
- .@{prefix}-notification-error .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
126
- background-color: @notification-error-text;
127
- }
128
-
129
- .@{prefix}-notification .@{prefix}-close {
130
- position: absolute;
131
- top: 6px;
132
- right: 8px;
133
- font-size: 20px;
134
- font-weight: bold;
135
- line-height: 20px;
136
- color: @window-head-close;
137
- cursor: pointer;
138
-
139
- // IE7
140
- height: 20px;
141
- overflow: hidden;
142
- }
@@ -1,7 +0,0 @@
1
- // Panel
2
-
3
- .@{prefix}-panel {
4
- border: 0 solid mix(rgb(red(@panel-border), green(@panel-border), blue(@panel-border)), @panel-bg, 20%);
5
- border: 0 solid @panel-border;
6
- .vertical-gradient(@panel-bg, @panel-bg-hlight);
7
- }
@@ -1,45 +0,0 @@
1
- // Path
2
-
3
- .@{prefix}-path {
4
- .inline-block();
5
- padding: 8px;
6
- white-space: normal;
7
- }
8
-
9
- .@{prefix}-path .@{prefix}-txt {
10
- display: inline-block;
11
- padding-right: 3px;
12
- }
13
-
14
- .@{prefix}-path .@{prefix}-path-body {
15
- display: inline-block;
16
- }
17
-
18
- .@{prefix}-path-item {
19
- .inline-block();
20
- cursor: pointer;
21
- color: @path-text;
22
- }
23
-
24
- .@{prefix}-path-item:hover {
25
- text-decoration: underline;
26
- }
27
-
28
- .@{prefix}-path-item:focus {
29
- background: @path-bg-focus;
30
- color: @path-text-focus;
31
- }
32
-
33
- .@{prefix}-path .@{prefix}-divider {
34
- display: inline;
35
- }
36
-
37
- .@{prefix}-disabled .@{prefix}-path-item {
38
- color: @text-disabled;
39
- }
40
-
41
- // RTL
42
-
43
- .@{prefix}-rtl .@{prefix}-path {
44
- direction: rtl;
45
- }
@@ -1,34 +0,0 @@
1
- // Progress
2
-
3
- .@{prefix}-progress {
4
- display: inline-block;
5
- position: relative;
6
- height: 20px;
7
- }
8
-
9
- .@{prefix}-progress .@{prefix}-bar-container {
10
- display: inline-block;
11
- width: 100px;
12
- height: 100%;
13
- margin-right: 8px;
14
- border: 1px solid @progress-border;
15
- overflow: hidden;
16
- .border-radius(4px);
17
- }
18
-
19
- .@{prefix}-progress .@{prefix}-text {
20
- display: inline-block;
21
- margin-top: auto;
22
- margin-bottom: auto;
23
- font-size: 14px;
24
- width: 40px;
25
- color: @progress-text;
26
- }
27
-
28
- .@{prefix}-bar {
29
- display: block;
30
- width: 0%;
31
- height: 100%;
32
- .vertical-gradient(@progress-bar-bg, @progress-bar-bg-hlight);
33
- .transition(width .2s ease);
34
- }
@@ -1 +0,0 @@
1
- // Radio - not implemented yet
@@ -1,32 +0,0 @@
1
- // Reset
2
-
3
- .@{prefix}-container, .@{prefix}-container *, .@{prefix}-widget, .@{prefix}-widget *, .@{prefix}-reset {
4
- margin: 0; padding: 0; border: 0; outline: 0;
5
- vertical-align: top; background: transparent;
6
- text-decoration: none; color: @text;
7
- font-family: @font-family;
8
- font-size: @font-size; text-shadow: none; float: none;
9
- position: static; width: auto; height: auto;
10
- white-space: nowrap; cursor: inherit;
11
- -webkit-tap-highlight-color: transparent;
12
- line-height: normal; font-weight: normal;
13
- text-align: left;
14
- -moz-box-sizing: content-box;
15
- -webkit-box-sizing: content-box;
16
- box-sizing: content-box;
17
- direction: ltr;
18
- max-width: none;
19
- }
20
-
21
- .@{prefix}-widget button {
22
- -moz-box-sizing: border-box;
23
- -webkit-box-sizing: border-box;
24
- box-sizing: border-box;
25
- }
26
-
27
- .@{prefix}-container *[unselectable] {
28
- -moz-user-select: none;
29
- -webkit-user-select: none;
30
- -o-user-select: none;
31
- user-select: none;
32
- }
@@ -1,18 +0,0 @@
1
- .@{prefix}-container-body .@{prefix}-resizehandle {
2
- position: absolute;
3
- right: 0;
4
- bottom: 0;
5
- width: 16px;
6
- height: 16px;
7
- visibility: visible;
8
- cursor: s-resize;
9
- margin: 0;
10
- }
11
-
12
- .@{prefix}-container-body .@{prefix}-resizehandle-both {
13
- cursor: se-resize;
14
- }
15
-
16
- i.@{prefix}-i-resize {
17
- color: @text;
18
- }
@@ -1,44 +0,0 @@
1
- // Scrollbar
2
-
3
- .@{prefix}-scrollbar {
4
- position: absolute;
5
- width: 7px;
6
- height: 100%;
7
- top: 2px;
8
- right: 2px;
9
- .opacity(0.4);
10
- }
11
-
12
- .@{prefix}-scrollbar-h {
13
- top: auto;
14
- right: auto;
15
- left: 2px;
16
- bottom: 2px;
17
- width: 100%;
18
- height: 7px;
19
- }
20
-
21
- .@{prefix}-scrollbar-thumb {
22
- position: absolute;
23
- background-color: #000;
24
- border: 1px solid #888;
25
- border-color: rgba(85, 85, 85, .6);
26
- width: 5px;
27
- height: 100%;
28
- .border-radius(7px);
29
- }
30
-
31
- .@{prefix}-scrollbar-h .@{prefix}-scrollbar-thumb {
32
- width: 100%;
33
- height: 5px;
34
- }
35
-
36
- .@{prefix}-scrollbar:hover, .@{prefix}-scrollbar.@{prefix}-active {
37
- background-color: #AAA;
38
- .opacity(0.6);
39
- .border-radius(7px);
40
- }
41
-
42
- .@{prefix}-scroll {
43
- position: relative;
44
- }
@@ -1,6 +0,0 @@
1
- // SelectBox
2
-
3
- .@{prefix}-selectbox {
4
- background: @selectbox-bg;
5
- border: 1px solid @selectbox-border;
6
- }
@@ -1,49 +0,0 @@
1
- // Sidebar
2
-
3
- .@{prefix}-edit-aria-container > .@{prefix}-container-body {
4
- display: flex;
5
-
6
- .@{prefix}-edit-area {
7
- flex: 1;
8
- }
9
-
10
- .@{prefix}-sidebar > .@{prefix}-container-body {
11
- display: flex;
12
- align-items: stretch;
13
- height: 100%;
14
- }
15
-
16
- .@{prefix}-sidebar-panel {
17
- min-width: 250px;
18
- max-width: 250px;
19
- position: relative;
20
-
21
- > .@{prefix}-container-body {
22
- position: absolute;
23
- width: 100%; height: 100%;
24
- overflow: auto;
25
- top: 0; left: 0;
26
- }
27
- }
28
- }
29
-
30
- .@{prefix}-sidebar-toolbar {
31
- border: 0 solid @panel-border;
32
- border-left-width: 1px;
33
-
34
- .@{prefix}-btn.@{prefix}-active, .@{prefix}-btn.@{prefix}-active:hover {
35
- border: 1px solid transparent;
36
- border-color: @btn-primary-border;
37
- .vertical-gradient(@btn-primary-bg, @btn-primary-bg-hlight);
38
-
39
- button, button i {
40
- color: @btn-primary-text;
41
- text-shadow: 1px 1px @btn-primary-text-shadow;
42
- }
43
- }
44
- }
45
-
46
- .@{prefix}-sidebar-panel {
47
- border: 0 solid @panel-border;
48
- border-left-width: 1px;
49
- }