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,33 +0,0 @@
1
- // Slider
2
-
3
- .@{prefix}-slider {
4
- .border-radius(3px);
5
- border: 1px solid @slider-border;
6
- background: @slider-bg;
7
- width: 100px;
8
- height: 10px;
9
- position: relative;
10
- display: block;
11
- }
12
-
13
- .@{prefix}-slider.@{prefix}-vertical {
14
- width: 10px;
15
- height: 100px;
16
- }
17
-
18
- .@{prefix}-slider-handle {
19
- .border-radius(3px);
20
- border: 1px solid @slider-handle-border;
21
- background: @slider-handle-bg;
22
- display: block;
23
- width: 13px;
24
- height: 13px;
25
- position: absolute;
26
- top: 0; left: 0;
27
- margin-left: -1px;
28
- margin-top: -2px;
29
- }
30
-
31
- .@{prefix}-slider-handle:focus {
32
- background: @slider-handle-bg-focus;
33
- }
@@ -1,5 +0,0 @@
1
- // Spacer
2
-
3
- .@{prefix}-spacer {
4
- visibility: hidden;
5
- }
@@ -1,49 +0,0 @@
1
- // SplitButton
2
-
3
- .@{prefix}-splitbtn .@{prefix}-open {
4
- border-left: 1px solid transparent;
5
- }
6
-
7
- .@{prefix}-splitbtn:hover .@{prefix}-open {
8
- border-left-color: darken(@btn-bg, 20%);
9
- }
10
-
11
- .@{prefix}-splitbtn button when (@has-button-borders = false) {
12
- padding-right: 6px;
13
- padding-left: 6px;
14
- }
15
-
16
- .@{prefix}-splitbtn button when (@has-button-borders = true) {
17
- padding-right: 4px;
18
- padding-left: 8px;
19
- }
20
-
21
- .@{prefix}-splitbtn .@{prefix}-open {
22
- padding-right: 4px;
23
- padding-left: 4px;
24
- }
25
-
26
- .@{prefix}-splitbtn .@{prefix}-open.@{prefix}-active {
27
- .vertical-gradient(darken(@btn-bg, 10%), darken(@btn-bg-hlight, 5%));
28
- outline: 1px solid darken(@btn-bg, 20%);
29
- }
30
-
31
- .@{prefix}-splitbtn.@{prefix}-btn-small .@{prefix}-open {
32
- padding: 0 3px 0 3px;
33
- }
34
-
35
- // RTL
36
-
37
- .@{prefix}-rtl .@{prefix}-splitbtn {
38
- direction: rtl;
39
- text-align: right;
40
- }
41
-
42
- .@{prefix}-rtl .@{prefix}-splitbtn button {
43
- padding-right: 4px;
44
- padding-left: 4px;
45
- }
46
-
47
- .@{prefix}-rtl .@{prefix}-splitbtn .@{prefix}-open {
48
- border-left: 0;
49
- }
@@ -1,5 +0,0 @@
1
- // StackLayout
2
-
3
- .@{prefix}-stack-layout-item {
4
- display: block;
5
- }
@@ -1,44 +0,0 @@
1
- // TabPanel
2
-
3
- .@{prefix}-tabs {
4
- display: block;
5
- border-bottom: 1px solid @tab-border;
6
- }
7
-
8
- .@{prefix}-tabs,
9
- .@{prefix}-tabs + .@{prefix}-container-body {
10
- background: @tabs-bg;
11
- }
12
-
13
- .@{prefix}-tab {
14
- .inline-block();
15
- border: 1px solid @tab-border;
16
- border-width: 0 1px 0 0;
17
- background: @tab-bg;
18
- padding: 8px;
19
- text-shadow: @text-shadow;
20
- height: 13px;
21
- cursor: pointer;
22
- }
23
-
24
- .@{prefix}-tab:hover {
25
- background: @tab-bg-hover;
26
- }
27
-
28
- .@{prefix}-tab.@{prefix}-active {
29
- background: @tab-bg-active;
30
- border-bottom-color: transparent;
31
- margin-bottom: -1px;
32
- height: 14px;
33
- }
34
-
35
- // RTL
36
-
37
- .@{prefix}-rtl .@{prefix}-tabs {
38
- text-align: right;
39
- direction: rtl;
40
- }
41
-
42
- .@{prefix}-rtl .@{prefix}-tab {
43
- border-width: 0 0 0 1px;
44
- }
@@ -1,41 +0,0 @@
1
- // TextBox
2
-
3
- .@{prefix}-textbox {
4
- background: @textbox-bg;
5
- border: 1px solid @textbox-border;
6
- .border-radius(3px);
7
- .box-shadow(@textbox-box-shadow);
8
- display: inline-block;
9
- .transition(~"border linear .2s, box-shadow linear .2s");
10
- height: 28px;
11
- resize: none;
12
- padding: 0 4px 0 4px;
13
- white-space: pre-wrap;
14
- *white-space: pre;
15
- color: @text;
16
- }
17
-
18
- .@{prefix}-textbox:focus, .@{prefix}-textbox.@{prefix}-focus {
19
- border-color: @textbox-border-focus;
20
- .box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px fadeout(@textbox-border-focus, 15%));
21
- }
22
-
23
- .@{prefix}-placeholder .@{prefix}-textbox {
24
- color: @textbox-text-placeholder;
25
- }
26
-
27
- .@{prefix}-textbox.@{prefix}-multiline {
28
- padding: 4px;
29
- height: auto;
30
- }
31
-
32
- .@{prefix}-textbox.@{prefix}-disabled {
33
- color: mix(@text, @textbox-bg, 40%);
34
- }
35
-
36
- // RTL
37
-
38
- .@{prefix}-rtl .@{prefix}-textbox {
39
- text-align: right;
40
- direction: rtl;
41
- }
@@ -1,19 +0,0 @@
1
- // Throbber
2
-
3
- .@{prefix}-throbber {
4
- position: absolute;
5
- top: 0; left: 0;
6
- width: 100%; height: 100%;
7
- .opacity(0.6);
8
- background: @throbber-bg;
9
- }
10
-
11
- .@{prefix}-throbber-inline {
12
- position: static;
13
- height: 50px;
14
- }
15
-
16
- .@{prefix}-menu .@{prefix}-throbber-inline {
17
- height: 25px;
18
- background-size: contain;
19
- }
@@ -1,159 +0,0 @@
1
- .@{prefix}-tinymce {
2
- // Avoid FOUC
3
- visibility: inherit !important;
4
- position: relative;
5
- }
6
-
7
- .@{prefix}-fullscreen {
8
- border: 0; padding: 0; margin: 0;
9
- overflow: hidden;
10
- height: 100%;
11
- z-index: 100;
12
- }
13
-
14
- div.@{prefix}-fullscreen {
15
- position: fixed;
16
- top: 0; left: 0;
17
- width: 100%;
18
- height: auto;
19
- }
20
-
21
- .@{prefix}-tinymce {
22
- display: block;
23
- .border-radius(2px);
24
- }
25
-
26
- .@{prefix}-wordcount {
27
- position: absolute;
28
- top: 0;
29
- right: 0;
30
- padding: 8px;
31
- }
32
-
33
- div.@{prefix}-edit-area {
34
- background: #FFF;
35
- filter: none;
36
- }
37
-
38
- .@{prefix}-statusbar {
39
- position: relative;
40
- }
41
-
42
- .@{prefix}-statusbar .@{prefix}-container-body {
43
- position: relative;
44
- }
45
-
46
- .@{prefix}-fullscreen .@{prefix}-resizehandle {
47
- display: none;
48
- }
49
-
50
- // Charmap
51
-
52
- .@{prefix}-charmap {
53
- border-collapse: collapse;
54
- }
55
-
56
- .@{prefix}-charmap td {
57
- cursor: default;
58
- border: 1px solid @panel-border;
59
- width: 20px;
60
- height: 20px;
61
- line-height: 20px;
62
- text-align: center;
63
- vertical-align: middle;
64
- padding: 2px;
65
- }
66
-
67
- .@{prefix}-charmap td div {
68
- text-align: center;
69
- }
70
-
71
- .@{prefix}-charmap td:hover {
72
- background: @btn-bg-hlight;
73
- }
74
-
75
- .@{prefix}-grid td.@{prefix}-grid-cell div {
76
- border: 1px solid @grid-border;
77
- width: 15px; height: 15px;
78
- margin: 0px;
79
- cursor: pointer;
80
-
81
- &:focus {
82
- border-color: @grid-border-active;
83
- }
84
-
85
- &[disabled] {
86
- cursor: not-allowed;
87
- }
88
- }
89
-
90
- .@{prefix}-grid {
91
- border-spacing: 2px;
92
- border-collapse: separate;
93
-
94
- a {
95
- display: block;
96
- border: 1px solid transparent;
97
-
98
- &:hover, &:focus {
99
- border-color: @grid-border-active;
100
- }
101
- }
102
- }
103
-
104
- .@{prefix}-grid-border {
105
- margin: 0 4px 0 4px;
106
-
107
- a {
108
- border-color: @grid-border;
109
- width: 13px; height: 13px;
110
- }
111
-
112
- a:hover, a.@{prefix}-active {
113
- border-color: @grid-border-active;
114
- background: @grid-bg-active;
115
- }
116
- }
117
-
118
- .@{prefix}-text-center {
119
- text-align: center;
120
- }
121
-
122
- div.@{prefix}-tinymce-inline {
123
- width: 100%;
124
- .box-shadow(none);
125
- }
126
-
127
- .@{prefix}-colorbtn-trans div {
128
- text-align: center;
129
- vertical-align: middle;
130
- font-weight: bold;
131
- font-size: 20px;
132
- line-height: 16px;
133
- color: mix(@text, #fff, 70%);
134
- }
135
-
136
- .@{prefix}-monospace {
137
- font-family: "Courier New", Courier, monospace;
138
- }
139
-
140
- // Reduce double margins between toolbar rows
141
-
142
- .@{prefix}-toolbar-grp when (@has-button-borders = false) {
143
- padding: @flow-layout-spacing 0;
144
- }
145
-
146
- .@{prefix}-toolbar-grp when (@has-button-borders = true) {
147
- padding-bottom: 2px;
148
- }
149
-
150
- .@{prefix}-toolbar-grp .@{prefix}-flow-layout-item {
151
- margin-bottom: 0;
152
- }
153
-
154
- // RTL
155
-
156
- .@{prefix}-rtl .@{prefix}-wordcount {
157
- left: 0;
158
- right: auto;
159
- }
@@ -1,133 +0,0 @@
1
- // Tooltip
2
-
3
- .@{prefix}-tooltip {
4
- position: absolute;
5
- padding: 5px;
6
- .opacity(0.8);
7
- }
8
-
9
- .@{prefix}-tooltip-inner {
10
- font-size: @tooltip-font-size;
11
- background-color: @tooltip-bg;
12
- color: @tooltip-text;
13
- max-width: 200px;
14
- padding: 5px 8px 4px 8px;
15
- text-align: center;
16
- white-space: normal;
17
- }
18
-
19
- .@{prefix}-tooltip-inner {
20
- .border-radius(3px);
21
- }
22
-
23
- .@{prefix}-tooltip-inner {
24
- .box-shadow(0 0 5px @tooltip-bg);
25
- }
26
-
27
- .@{prefix}-tooltip-arrow {
28
- position: absolute;
29
- width: 0;
30
- height: 0;
31
- line-height: 0;
32
- border: 5px dashed @tooltip-bg;
33
- }
34
-
35
- .@{prefix}-tooltip-arrow-n {
36
- border-bottom-color: @tooltip-bg;
37
- }
38
-
39
- .@{prefix}-tooltip-arrow-s {
40
- border-top-color: @tooltip-bg;
41
- }
42
-
43
- .@{prefix}-tooltip-arrow-e {
44
- border-left-color: @tooltip-bg;
45
- }
46
-
47
- .@{prefix}-tooltip-arrow-w {
48
- border-right-color: @tooltip-bg;
49
- }
50
-
51
- .@{prefix}-tooltip-nw, .@{prefix}-tooltip-sw {
52
- margin-left: -14px;
53
- }
54
-
55
- .@{prefix}-tooltip-ne, .@{prefix}-tooltip-se {
56
- margin-left: 14px;
57
- }
58
-
59
- .@{prefix}-tooltip-n .@{prefix}-tooltip-arrow {
60
- top: 0px;
61
- left: 50%;
62
- margin-left: -5px;
63
- border-bottom-style: solid;
64
- border-top: none;
65
- border-left-color: transparent;
66
- border-right-color: transparent;
67
- }
68
-
69
- .@{prefix}-tooltip-nw .@{prefix}-tooltip-arrow {
70
- top: 0;
71
- left: 10px;
72
- border-bottom-style: solid;
73
- border-top: none;
74
- border-left-color: transparent;
75
- border-right-color: transparent;
76
- }
77
-
78
- .@{prefix}-tooltip-ne .@{prefix}-tooltip-arrow {
79
- top: 0;
80
- right: 10px;
81
- border-bottom-style: solid;
82
- border-top: none;
83
- border-left-color: transparent;
84
- border-right-color: transparent;
85
- }
86
-
87
- .@{prefix}-tooltip-s .@{prefix}-tooltip-arrow {
88
- bottom: 0;
89
- left: 50%;
90
- margin-left: -5px;
91
- border-top-style: solid;
92
- border-bottom: none;
93
- border-left-color: transparent;
94
- border-right-color: transparent;
95
- }
96
-
97
- .@{prefix}-tooltip-sw .@{prefix}-tooltip-arrow {
98
- bottom: 0;
99
- left: 10px;
100
- border-top-style: solid;
101
- border-bottom: none;
102
- border-left-color: transparent;
103
- border-right-color: transparent;
104
- }
105
-
106
- .@{prefix}-tooltip-se .@{prefix}-tooltip-arrow {
107
- bottom: 0;
108
- right: 10px;
109
- border-top-style: solid;
110
- border-bottom: none;
111
- border-left-color: transparent;
112
- border-right-color: transparent;
113
- }
114
-
115
- .@{prefix}-tooltip-e .@{prefix}-tooltip-arrow {
116
- right: 0;
117
- top: 50%;
118
- margin-top: -5px;
119
- border-left-style: solid;
120
- border-right: none;
121
- border-top-color: transparent;
122
- border-bottom-color: transparent;
123
- }
124
-
125
- .@{prefix}-tooltip-w .@{prefix}-tooltip-arrow {
126
- left: 0;
127
- top: 50%;
128
- margin-top: -5px;
129
- border-right-style: solid;
130
- border-left: none;
131
- border-top-color: transparent;
132
- border-bottom-color: transparent;
133
- }