tinymce-rails 3.4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +57 -0
- data/Rakefile +52 -0
- data/assets/integration/tinymce.jquery.js +3 -0
- data/assets/integration/tinymce.js +2 -0
- data/assets/integration/tinymce.preinit.js.erb +1 -0
- data/assets/vendor/tinymce/jquery.tinymce.js +1 -0
- data/assets/vendor/tinymce/langs/en.js +223 -0
- data/assets/vendor/tinymce/license.txt +504 -0
- data/assets/vendor/tinymce/plugins/advhr/css/advhr.css +5 -0
- data/assets/vendor/tinymce/plugins/advhr/editor_plugin.js +57 -0
- data/assets/vendor/tinymce/plugins/advhr/js/rule.js +43 -0
- data/assets/vendor/tinymce/plugins/advhr/langs/en_dlg.js +7 -0
- data/assets/vendor/tinymce/plugins/advhr/rule.htm +58 -0
- data/assets/vendor/tinymce/plugins/advimage/css/advimage.css +13 -0
- data/assets/vendor/tinymce/plugins/advimage/editor_plugin.js +50 -0
- data/assets/vendor/tinymce/plugins/advimage/image.htm +235 -0
- data/assets/vendor/tinymce/plugins/advimage/img/sample.gif +0 -0
- data/assets/vendor/tinymce/plugins/advimage/js/image.js +458 -0
- data/assets/vendor/tinymce/plugins/advimage/langs/en_dlg.js +45 -0
- data/assets/vendor/tinymce/plugins/advlink/css/advlink.css +8 -0
- data/assets/vendor/tinymce/plugins/advlink/editor_plugin.js +61 -0
- data/assets/vendor/tinymce/plugins/advlink/js/advlink.js +532 -0
- data/assets/vendor/tinymce/plugins/advlink/langs/en_dlg.js +54 -0
- data/assets/vendor/tinymce/plugins/advlink/link.htm +338 -0
- data/assets/vendor/tinymce/plugins/advlist/editor_plugin.js +176 -0
- data/assets/vendor/tinymce/plugins/autolink/editor_plugin.js +172 -0
- data/assets/vendor/tinymce/plugins/autoresize/editor_plugin.js +137 -0
- data/assets/vendor/tinymce/plugins/autosave/editor_plugin.js +431 -0
- data/assets/vendor/tinymce/plugins/autosave/langs/en.js +4 -0
- data/assets/vendor/tinymce/plugins/bbcode/editor_plugin.js +120 -0
- data/assets/vendor/tinymce/plugins/contextmenu/editor_plugin.js +160 -0
- data/assets/vendor/tinymce/plugins/directionality/editor_plugin.js +82 -0
- data/assets/vendor/tinymce/plugins/emotions/editor_plugin.js +43 -0
- data/assets/vendor/tinymce/plugins/emotions/emotions.htm +41 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/js/emotions.js +22 -0
- data/assets/vendor/tinymce/plugins/emotions/langs/en_dlg.js +20 -0
- data/assets/vendor/tinymce/plugins/example/dialog.htm +22 -0
- data/assets/vendor/tinymce/plugins/example/editor_plugin.js +84 -0
- data/assets/vendor/tinymce/plugins/example/img/example.gif +0 -0
- data/assets/vendor/tinymce/plugins/example/js/dialog.js +19 -0
- data/assets/vendor/tinymce/plugins/example/langs/en.js +3 -0
- data/assets/vendor/tinymce/plugins/example/langs/en_dlg.js +3 -0
- data/assets/vendor/tinymce/plugins/example_dependency/editor_plugin.js +50 -0
- data/assets/vendor/tinymce/plugins/fullpage/css/fullpage.css +143 -0
- data/assets/vendor/tinymce/plugins/fullpage/editor_plugin.js +399 -0
- data/assets/vendor/tinymce/plugins/fullpage/fullpage.htm +259 -0
- data/assets/vendor/tinymce/plugins/fullpage/js/fullpage.js +232 -0
- data/assets/vendor/tinymce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/assets/vendor/tinymce/plugins/fullscreen/editor_plugin.js +159 -0
- data/assets/vendor/tinymce/plugins/fullscreen/fullscreen.htm +109 -0
- data/assets/vendor/tinymce/plugins/iespell/editor_plugin.js +54 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/editor_plugin.js +696 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/template.htm +387 -0
- data/assets/vendor/tinymce/plugins/insertdatetime/editor_plugin.js +83 -0
- data/assets/vendor/tinymce/plugins/layer/editor_plugin.js +214 -0
- data/assets/vendor/tinymce/plugins/legacyoutput/editor_plugin.js +139 -0
- data/assets/vendor/tinymce/plugins/lists/editor_plugin.js +688 -0
- data/assets/vendor/tinymce/plugins/media/css/media.css +17 -0
- data/assets/vendor/tinymce/plugins/media/editor_plugin.js +777 -0
- data/assets/vendor/tinymce/plugins/media/js/embed.js +73 -0
- data/assets/vendor/tinymce/plugins/media/js/media.js +355 -0
- data/assets/vendor/tinymce/plugins/media/langs/en_dlg.js +109 -0
- data/assets/vendor/tinymce/plugins/media/media.htm +812 -0
- data/assets/vendor/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/assets/vendor/tinymce/plugins/nonbreaking/editor_plugin.js +53 -0
- data/assets/vendor/tinymce/plugins/noneditable/editor_plugin.js +95 -0
- data/assets/vendor/tinymce/plugins/pagebreak/editor_plugin.js +74 -0
- data/assets/vendor/tinymce/plugins/paste/editor_plugin.js +942 -0
- data/assets/vendor/tinymce/plugins/paste/js/pastetext.js +36 -0
- data/assets/vendor/tinymce/plugins/paste/js/pasteword.js +51 -0
- data/assets/vendor/tinymce/plugins/paste/langs/en_dlg.js +5 -0
- data/assets/vendor/tinymce/plugins/paste/pastetext.htm +27 -0
- data/assets/vendor/tinymce/plugins/paste/pasteword.htm +21 -0
- data/assets/vendor/tinymce/plugins/preview/editor_plugin.js +53 -0
- data/assets/vendor/tinymce/plugins/preview/example.html +28 -0
- data/assets/vendor/tinymce/plugins/preview/jscripts/embed.js +73 -0
- data/assets/vendor/tinymce/plugins/preview/preview.html +17 -0
- data/assets/vendor/tinymce/plugins/print/editor_plugin.js +34 -0
- data/assets/vendor/tinymce/plugins/save/editor_plugin.js +101 -0
- data/assets/vendor/tinymce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/assets/vendor/tinymce/plugins/searchreplace/editor_plugin.js +61 -0
- data/assets/vendor/tinymce/plugins/searchreplace/js/searchreplace.js +142 -0
- data/assets/vendor/tinymce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/assets/vendor/tinymce/plugins/searchreplace/searchreplace.htm +100 -0
- data/assets/vendor/tinymce/plugins/spellchecker/css/content.css +1 -0
- data/assets/vendor/tinymce/plugins/spellchecker/editor_plugin.js +434 -0
- data/assets/vendor/tinymce/plugins/spellchecker/img/wline.gif +0 -0
- data/assets/vendor/tinymce/plugins/style/css/props.css +13 -0
- data/assets/vendor/tinymce/plugins/style/editor_plugin.js +55 -0
- data/assets/vendor/tinymce/plugins/style/js/props.js +635 -0
- data/assets/vendor/tinymce/plugins/style/langs/en_dlg.js +70 -0
- data/assets/vendor/tinymce/plugins/style/props.htm +838 -0
- data/assets/vendor/tinymce/plugins/tabfocus/editor_plugin.js +114 -0
- data/assets/vendor/tinymce/plugins/table/cell.htm +180 -0
- data/assets/vendor/tinymce/plugins/table/css/cell.css +17 -0
- data/assets/vendor/tinymce/plugins/table/css/row.css +25 -0
- data/assets/vendor/tinymce/plugins/table/css/table.css +13 -0
- data/assets/vendor/tinymce/plugins/table/editor_plugin.js +1263 -0
- data/assets/vendor/tinymce/plugins/table/js/cell.js +319 -0
- data/assets/vendor/tinymce/plugins/table/js/merge_cells.js +27 -0
- data/assets/vendor/tinymce/plugins/table/js/row.js +237 -0
- data/assets/vendor/tinymce/plugins/table/js/table.js +450 -0
- data/assets/vendor/tinymce/plugins/table/langs/en_dlg.js +75 -0
- data/assets/vendor/tinymce/plugins/table/merge_cells.htm +32 -0
- data/assets/vendor/tinymce/plugins/table/row.htm +158 -0
- data/assets/vendor/tinymce/plugins/table/table.htm +188 -0
- data/assets/vendor/tinymce/plugins/template/blank.htm +12 -0
- data/assets/vendor/tinymce/plugins/template/css/template.css +23 -0
- data/assets/vendor/tinymce/plugins/template/editor_plugin.js +159 -0
- data/assets/vendor/tinymce/plugins/template/js/template.js +106 -0
- data/assets/vendor/tinymce/plugins/template/langs/en_dlg.js +15 -0
- data/assets/vendor/tinymce/plugins/template/template.htm +31 -0
- data/assets/vendor/tinymce/plugins/visualchars/editor_plugin.js +83 -0
- data/assets/vendor/tinymce/plugins/wordcount/editor_plugin.js +114 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/abbr.htm +142 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/acronym.htm +142 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/attributes.htm +149 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/cite.htm +142 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/del.htm +162 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/editor_plugin.js +132 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/ins.htm +162 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/attributes.js +111 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/del.js +53 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/element_common.js +229 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/ins.js +53 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/assets/vendor/tinymce/themes/advanced/about.htm +52 -0
- data/assets/vendor/tinymce/themes/advanced/anchor.htm +26 -0
- data/assets/vendor/tinymce/themes/advanced/charmap.htm +51 -0
- data/assets/vendor/tinymce/themes/advanced/color_picker.htm +74 -0
- data/assets/vendor/tinymce/themes/advanced/editor_template.js +1358 -0
- data/assets/vendor/tinymce/themes/advanced/image.htm +80 -0
- data/assets/vendor/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/flash.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/icons.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/iframe.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/pagebreak.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/quicktime.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/realmedia.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/shockwave.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/trans.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/video.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/js/about.js +73 -0
- data/assets/vendor/tinymce/themes/advanced/js/anchor.js +42 -0
- data/assets/vendor/tinymce/themes/advanced/js/charmap.js +355 -0
- data/assets/vendor/tinymce/themes/advanced/js/color_picker.js +329 -0
- data/assets/vendor/tinymce/themes/advanced/js/image.js +247 -0
- data/assets/vendor/tinymce/themes/advanced/js/link.js +153 -0
- data/assets/vendor/tinymce/themes/advanced/js/source_editor.js +56 -0
- data/assets/vendor/tinymce/themes/advanced/langs/en.js +68 -0
- data/assets/vendor/tinymce/themes/advanced/langs/en_dlg.js +54 -0
- data/assets/vendor/tinymce/themes/advanced/link.htm +57 -0
- data/assets/vendor/tinymce/themes/advanced/shortcuts.htm +47 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/content.css +47 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/dialog.css +117 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/ui.css +214 -0
- data/assets/vendor/tinymce/themes/advanced/skins/highcontrast/content.css +23 -0
- data/assets/vendor/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/assets/vendor/tinymce/themes/advanced/skins/highcontrast/ui.css +102 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/content.css +46 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/dialog.css +117 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/ui.css +217 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/assets/vendor/tinymce/themes/advanced/source_editor.htm +25 -0
- data/assets/vendor/tinymce/themes/simple/editor_template.js +84 -0
- data/assets/vendor/tinymce/themes/simple/img/icons.gif +0 -0
- data/assets/vendor/tinymce/themes/simple/langs/en.js +11 -0
- data/assets/vendor/tinymce/themes/simple/skins/default/content.css +25 -0
- data/assets/vendor/tinymce/themes/simple/skins/default/ui.css +32 -0
- data/assets/vendor/tinymce/themes/simple/skins/o2k7/content.css +17 -0
- data/assets/vendor/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/assets/vendor/tinymce/themes/simple/skins/o2k7/ui.css +35 -0
- data/assets/vendor/tinymce/tiny_mce.js +15338 -0
- data/assets/vendor/tinymce/tiny_mce_popup.js +5 -0
- data/assets/vendor/tinymce/utils/editable_selects.js +70 -0
- data/assets/vendor/tinymce/utils/form_utils.js +210 -0
- data/assets/vendor/tinymce/utils/mctabs.js +162 -0
- data/assets/vendor/tinymce/utils/validate.js +252 -0
- data/lib/tinymce-rails.rb +2 -0
- data/lib/tinymce/railtie.rb +17 -0
- data/lib/tinymce/version.rb +3 -0
- metadata +300 -0
@@ -0,0 +1,252 @@
|
|
1
|
+
/**
|
2
|
+
* validate.js
|
3
|
+
*
|
4
|
+
* Copyright 2009, Moxiecode Systems AB
|
5
|
+
* Released under LGPL License.
|
6
|
+
*
|
7
|
+
* License: http://tinymce.moxiecode.com/license
|
8
|
+
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
+
*/
|
10
|
+
|
11
|
+
/**
|
12
|
+
// String validation:
|
13
|
+
|
14
|
+
if (!Validator.isEmail('myemail'))
|
15
|
+
alert('Invalid email.');
|
16
|
+
|
17
|
+
// Form validation:
|
18
|
+
|
19
|
+
var f = document.forms['myform'];
|
20
|
+
|
21
|
+
if (!Validator.isEmail(f.myemail))
|
22
|
+
alert('Invalid email.');
|
23
|
+
*/
|
24
|
+
|
25
|
+
var Validator = {
|
26
|
+
isEmail : function(s) {
|
27
|
+
return this.test(s, '^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$');
|
28
|
+
},
|
29
|
+
|
30
|
+
isAbsUrl : function(s) {
|
31
|
+
return this.test(s, '^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$');
|
32
|
+
},
|
33
|
+
|
34
|
+
isSize : function(s) {
|
35
|
+
return this.test(s, '^[0-9.]+(%|in|cm|mm|em|ex|pt|pc|px)?$');
|
36
|
+
},
|
37
|
+
|
38
|
+
isId : function(s) {
|
39
|
+
return this.test(s, '^[A-Za-z_]([A-Za-z0-9_])*$');
|
40
|
+
},
|
41
|
+
|
42
|
+
isEmpty : function(s) {
|
43
|
+
var nl, i;
|
44
|
+
|
45
|
+
if (s.nodeName == 'SELECT' && s.selectedIndex < 1)
|
46
|
+
return true;
|
47
|
+
|
48
|
+
if (s.type == 'checkbox' && !s.checked)
|
49
|
+
return true;
|
50
|
+
|
51
|
+
if (s.type == 'radio') {
|
52
|
+
for (i=0, nl = s.form.elements; i<nl.length; i++) {
|
53
|
+
if (nl[i].type == "radio" && nl[i].name == s.name && nl[i].checked)
|
54
|
+
return false;
|
55
|
+
}
|
56
|
+
|
57
|
+
return true;
|
58
|
+
}
|
59
|
+
|
60
|
+
return new RegExp('^\\s*$').test(s.nodeType == 1 ? s.value : s);
|
61
|
+
},
|
62
|
+
|
63
|
+
isNumber : function(s, d) {
|
64
|
+
return !isNaN(s.nodeType == 1 ? s.value : s) && (!d || !this.test(s, '^-?[0-9]*\\.[0-9]*$'));
|
65
|
+
},
|
66
|
+
|
67
|
+
test : function(s, p) {
|
68
|
+
s = s.nodeType == 1 ? s.value : s;
|
69
|
+
|
70
|
+
return s == '' || new RegExp(p).test(s);
|
71
|
+
}
|
72
|
+
};
|
73
|
+
|
74
|
+
var AutoValidator = {
|
75
|
+
settings : {
|
76
|
+
id_cls : 'id',
|
77
|
+
int_cls : 'int',
|
78
|
+
url_cls : 'url',
|
79
|
+
number_cls : 'number',
|
80
|
+
email_cls : 'email',
|
81
|
+
size_cls : 'size',
|
82
|
+
required_cls : 'required',
|
83
|
+
invalid_cls : 'invalid',
|
84
|
+
min_cls : 'min',
|
85
|
+
max_cls : 'max'
|
86
|
+
},
|
87
|
+
|
88
|
+
init : function(s) {
|
89
|
+
var n;
|
90
|
+
|
91
|
+
for (n in s)
|
92
|
+
this.settings[n] = s[n];
|
93
|
+
},
|
94
|
+
|
95
|
+
validate : function(f) {
|
96
|
+
var i, nl, s = this.settings, c = 0;
|
97
|
+
|
98
|
+
nl = this.tags(f, 'label');
|
99
|
+
for (i=0; i<nl.length; i++) {
|
100
|
+
this.removeClass(nl[i], s.invalid_cls);
|
101
|
+
nl[i].setAttribute('aria-invalid', false);
|
102
|
+
}
|
103
|
+
|
104
|
+
c += this.validateElms(f, 'input');
|
105
|
+
c += this.validateElms(f, 'select');
|
106
|
+
c += this.validateElms(f, 'textarea');
|
107
|
+
|
108
|
+
return c == 3;
|
109
|
+
},
|
110
|
+
|
111
|
+
invalidate : function(n) {
|
112
|
+
this.mark(n.form, n);
|
113
|
+
},
|
114
|
+
|
115
|
+
getErrorMessages : function(f) {
|
116
|
+
var nl, i, s = this.settings, field, msg, values, messages = [], ed = tinyMCEPopup.editor;
|
117
|
+
nl = this.tags(f, "label");
|
118
|
+
for (i=0; i<nl.length; i++) {
|
119
|
+
if (this.hasClass(nl[i], s.invalid_cls)) {
|
120
|
+
field = document.getElementById(nl[i].getAttribute("for"));
|
121
|
+
values = { field: nl[i].textContent };
|
122
|
+
if (this.hasClass(field, s.min_cls, true)) {
|
123
|
+
message = ed.getLang('invalid_data_min');
|
124
|
+
values.min = this.getNum(field, s.min_cls);
|
125
|
+
} else if (this.hasClass(field, s.number_cls)) {
|
126
|
+
message = ed.getLang('invalid_data_number');
|
127
|
+
} else if (this.hasClass(field, s.size_cls)) {
|
128
|
+
message = ed.getLang('invalid_data_size');
|
129
|
+
} else {
|
130
|
+
message = ed.getLang('invalid_data');
|
131
|
+
}
|
132
|
+
|
133
|
+
message = message.replace(/{\#([^}]+)\}/g, function(a, b) {
|
134
|
+
return values[b] || '{#' + b + '}';
|
135
|
+
});
|
136
|
+
messages.push(message);
|
137
|
+
}
|
138
|
+
}
|
139
|
+
return messages;
|
140
|
+
},
|
141
|
+
|
142
|
+
reset : function(e) {
|
143
|
+
var t = ['label', 'input', 'select', 'textarea'];
|
144
|
+
var i, j, nl, s = this.settings;
|
145
|
+
|
146
|
+
if (e == null)
|
147
|
+
return;
|
148
|
+
|
149
|
+
for (i=0; i<t.length; i++) {
|
150
|
+
nl = this.tags(e.form ? e.form : e, t[i]);
|
151
|
+
for (j=0; j<nl.length; j++) {
|
152
|
+
this.removeClass(nl[j], s.invalid_cls);
|
153
|
+
nl[j].setAttribute('aria-invalid', false);
|
154
|
+
}
|
155
|
+
}
|
156
|
+
},
|
157
|
+
|
158
|
+
validateElms : function(f, e) {
|
159
|
+
var nl, i, n, s = this.settings, st = true, va = Validator, v;
|
160
|
+
|
161
|
+
nl = this.tags(f, e);
|
162
|
+
for (i=0; i<nl.length; i++) {
|
163
|
+
n = nl[i];
|
164
|
+
|
165
|
+
this.removeClass(n, s.invalid_cls);
|
166
|
+
|
167
|
+
if (this.hasClass(n, s.required_cls) && va.isEmpty(n))
|
168
|
+
st = this.mark(f, n);
|
169
|
+
|
170
|
+
if (this.hasClass(n, s.number_cls) && !va.isNumber(n))
|
171
|
+
st = this.mark(f, n);
|
172
|
+
|
173
|
+
if (this.hasClass(n, s.int_cls) && !va.isNumber(n, true))
|
174
|
+
st = this.mark(f, n);
|
175
|
+
|
176
|
+
if (this.hasClass(n, s.url_cls) && !va.isAbsUrl(n))
|
177
|
+
st = this.mark(f, n);
|
178
|
+
|
179
|
+
if (this.hasClass(n, s.email_cls) && !va.isEmail(n))
|
180
|
+
st = this.mark(f, n);
|
181
|
+
|
182
|
+
if (this.hasClass(n, s.size_cls) && !va.isSize(n))
|
183
|
+
st = this.mark(f, n);
|
184
|
+
|
185
|
+
if (this.hasClass(n, s.id_cls) && !va.isId(n))
|
186
|
+
st = this.mark(f, n);
|
187
|
+
|
188
|
+
if (this.hasClass(n, s.min_cls, true)) {
|
189
|
+
v = this.getNum(n, s.min_cls);
|
190
|
+
|
191
|
+
if (isNaN(v) || parseInt(n.value) < parseInt(v))
|
192
|
+
st = this.mark(f, n);
|
193
|
+
}
|
194
|
+
|
195
|
+
if (this.hasClass(n, s.max_cls, true)) {
|
196
|
+
v = this.getNum(n, s.max_cls);
|
197
|
+
|
198
|
+
if (isNaN(v) || parseInt(n.value) > parseInt(v))
|
199
|
+
st = this.mark(f, n);
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
return st;
|
204
|
+
},
|
205
|
+
|
206
|
+
hasClass : function(n, c, d) {
|
207
|
+
return new RegExp('\\b' + c + (d ? '[0-9]+' : '') + '\\b', 'g').test(n.className);
|
208
|
+
},
|
209
|
+
|
210
|
+
getNum : function(n, c) {
|
211
|
+
c = n.className.match(new RegExp('\\b' + c + '([0-9]+)\\b', 'g'))[0];
|
212
|
+
c = c.replace(/[^0-9]/g, '');
|
213
|
+
|
214
|
+
return c;
|
215
|
+
},
|
216
|
+
|
217
|
+
addClass : function(n, c, b) {
|
218
|
+
var o = this.removeClass(n, c);
|
219
|
+
n.className = b ? c + (o != '' ? (' ' + o) : '') : (o != '' ? (o + ' ') : '') + c;
|
220
|
+
},
|
221
|
+
|
222
|
+
removeClass : function(n, c) {
|
223
|
+
c = n.className.replace(new RegExp("(^|\\s+)" + c + "(\\s+|$)"), ' ');
|
224
|
+
return n.className = c != ' ' ? c : '';
|
225
|
+
},
|
226
|
+
|
227
|
+
tags : function(f, s) {
|
228
|
+
return f.getElementsByTagName(s);
|
229
|
+
},
|
230
|
+
|
231
|
+
mark : function(f, n) {
|
232
|
+
var s = this.settings;
|
233
|
+
|
234
|
+
this.addClass(n, s.invalid_cls);
|
235
|
+
n.setAttribute('aria-invalid', 'true');
|
236
|
+
this.markLabels(f, n, s.invalid_cls);
|
237
|
+
|
238
|
+
return false;
|
239
|
+
},
|
240
|
+
|
241
|
+
markLabels : function(f, n, ic) {
|
242
|
+
var nl, i;
|
243
|
+
|
244
|
+
nl = this.tags(f, "label");
|
245
|
+
for (i=0; i<nl.length; i++) {
|
246
|
+
if (nl[i].getAttribute("for") == n.id || nl[i].htmlFor == n.id)
|
247
|
+
this.addClass(nl[i], ic);
|
248
|
+
}
|
249
|
+
|
250
|
+
return null;
|
251
|
+
}
|
252
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'fingerprintless-assets'
|
2
|
+
|
3
|
+
module TinyMCE
|
4
|
+
class Railtie < Rails::Railtie
|
5
|
+
def asset_root
|
6
|
+
File.join(File.dirname(__FILE__), "../../assets")
|
7
|
+
end
|
8
|
+
|
9
|
+
initializer "configure assets" do |app|
|
10
|
+
app.config.assets.paths.unshift File.join(asset_root, 'integration')
|
11
|
+
app.config.assets.paths.unshift File.join(asset_root, 'vendor')
|
12
|
+
|
13
|
+
app.config.assets.fingerprinting.exclude << "tinymce/*"
|
14
|
+
app.config.assets.precompile += ["tinymce/*", "tinymce.*"]
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,300 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tinymce-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.4.3.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Sam Pohlenz
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-08-04 00:00:00.000000000 +09:30
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: railties
|
17
|
+
requirement: &2153177520 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.1.0.rc5
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *2153177520
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: actionpack
|
28
|
+
requirement: &2153177020 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.1.0.rc5
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *2153177020
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: fingerprintless-assets
|
39
|
+
requirement: &2153176560 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 1.0.pre
|
45
|
+
type: :runtime
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *2153176560
|
48
|
+
description: Seamlessly integrates TinyMCE into the Rails 3.1 asset pipeline.
|
49
|
+
email: sam@sampohlenz.com
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- README.md
|
55
|
+
- Rakefile
|
56
|
+
- assets/integration/tinymce.jquery.js
|
57
|
+
- assets/integration/tinymce.js
|
58
|
+
- assets/integration/tinymce.preinit.js.erb
|
59
|
+
- assets/vendor/tinymce/jquery.tinymce.js
|
60
|
+
- assets/vendor/tinymce/langs/en.js
|
61
|
+
- assets/vendor/tinymce/license.txt
|
62
|
+
- assets/vendor/tinymce/plugins/advhr/css/advhr.css
|
63
|
+
- assets/vendor/tinymce/plugins/advhr/editor_plugin.js
|
64
|
+
- assets/vendor/tinymce/plugins/advhr/js/rule.js
|
65
|
+
- assets/vendor/tinymce/plugins/advhr/langs/en_dlg.js
|
66
|
+
- assets/vendor/tinymce/plugins/advhr/rule.htm
|
67
|
+
- assets/vendor/tinymce/plugins/advimage/css/advimage.css
|
68
|
+
- assets/vendor/tinymce/plugins/advimage/editor_plugin.js
|
69
|
+
- assets/vendor/tinymce/plugins/advimage/image.htm
|
70
|
+
- assets/vendor/tinymce/plugins/advimage/img/sample.gif
|
71
|
+
- assets/vendor/tinymce/plugins/advimage/js/image.js
|
72
|
+
- assets/vendor/tinymce/plugins/advimage/langs/en_dlg.js
|
73
|
+
- assets/vendor/tinymce/plugins/advlink/css/advlink.css
|
74
|
+
- assets/vendor/tinymce/plugins/advlink/editor_plugin.js
|
75
|
+
- assets/vendor/tinymce/plugins/advlink/js/advlink.js
|
76
|
+
- assets/vendor/tinymce/plugins/advlink/langs/en_dlg.js
|
77
|
+
- assets/vendor/tinymce/plugins/advlink/link.htm
|
78
|
+
- assets/vendor/tinymce/plugins/advlist/editor_plugin.js
|
79
|
+
- assets/vendor/tinymce/plugins/autolink/editor_plugin.js
|
80
|
+
- assets/vendor/tinymce/plugins/autoresize/editor_plugin.js
|
81
|
+
- assets/vendor/tinymce/plugins/autosave/editor_plugin.js
|
82
|
+
- assets/vendor/tinymce/plugins/autosave/langs/en.js
|
83
|
+
- assets/vendor/tinymce/plugins/bbcode/editor_plugin.js
|
84
|
+
- assets/vendor/tinymce/plugins/contextmenu/editor_plugin.js
|
85
|
+
- assets/vendor/tinymce/plugins/directionality/editor_plugin.js
|
86
|
+
- assets/vendor/tinymce/plugins/emotions/editor_plugin.js
|
87
|
+
- assets/vendor/tinymce/plugins/emotions/emotions.htm
|
88
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-cool.gif
|
89
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-cry.gif
|
90
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-embarassed.gif
|
91
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif
|
92
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-frown.gif
|
93
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-innocent.gif
|
94
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-kiss.gif
|
95
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-laughing.gif
|
96
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-money-mouth.gif
|
97
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-sealed.gif
|
98
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-smile.gif
|
99
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-surprised.gif
|
100
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-tongue-out.gif
|
101
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-undecided.gif
|
102
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-wink.gif
|
103
|
+
- assets/vendor/tinymce/plugins/emotions/img/smiley-yell.gif
|
104
|
+
- assets/vendor/tinymce/plugins/emotions/js/emotions.js
|
105
|
+
- assets/vendor/tinymce/plugins/emotions/langs/en_dlg.js
|
106
|
+
- assets/vendor/tinymce/plugins/example/dialog.htm
|
107
|
+
- assets/vendor/tinymce/plugins/example/editor_plugin.js
|
108
|
+
- assets/vendor/tinymce/plugins/example/img/example.gif
|
109
|
+
- assets/vendor/tinymce/plugins/example/js/dialog.js
|
110
|
+
- assets/vendor/tinymce/plugins/example/langs/en.js
|
111
|
+
- assets/vendor/tinymce/plugins/example/langs/en_dlg.js
|
112
|
+
- assets/vendor/tinymce/plugins/example_dependency/editor_plugin.js
|
113
|
+
- assets/vendor/tinymce/plugins/fullpage/css/fullpage.css
|
114
|
+
- assets/vendor/tinymce/plugins/fullpage/editor_plugin.js
|
115
|
+
- assets/vendor/tinymce/plugins/fullpage/fullpage.htm
|
116
|
+
- assets/vendor/tinymce/plugins/fullpage/js/fullpage.js
|
117
|
+
- assets/vendor/tinymce/plugins/fullpage/langs/en_dlg.js
|
118
|
+
- assets/vendor/tinymce/plugins/fullscreen/editor_plugin.js
|
119
|
+
- assets/vendor/tinymce/plugins/fullscreen/fullscreen.htm
|
120
|
+
- assets/vendor/tinymce/plugins/iespell/editor_plugin.js
|
121
|
+
- assets/vendor/tinymce/plugins/inlinepopups/editor_plugin.js
|
122
|
+
- assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
|
123
|
+
- assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
|
124
|
+
- assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
|
125
|
+
- assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
|
126
|
+
- assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
|
127
|
+
- assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
|
128
|
+
- assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
|
129
|
+
- assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css
|
130
|
+
- assets/vendor/tinymce/plugins/inlinepopups/template.htm
|
131
|
+
- assets/vendor/tinymce/plugins/insertdatetime/editor_plugin.js
|
132
|
+
- assets/vendor/tinymce/plugins/layer/editor_plugin.js
|
133
|
+
- assets/vendor/tinymce/plugins/legacyoutput/editor_plugin.js
|
134
|
+
- assets/vendor/tinymce/plugins/lists/editor_plugin.js
|
135
|
+
- assets/vendor/tinymce/plugins/media/css/media.css
|
136
|
+
- assets/vendor/tinymce/plugins/media/editor_plugin.js
|
137
|
+
- assets/vendor/tinymce/plugins/media/js/embed.js
|
138
|
+
- assets/vendor/tinymce/plugins/media/js/media.js
|
139
|
+
- assets/vendor/tinymce/plugins/media/langs/en_dlg.js
|
140
|
+
- assets/vendor/tinymce/plugins/media/media.htm
|
141
|
+
- assets/vendor/tinymce/plugins/media/moxieplayer.swf
|
142
|
+
- assets/vendor/tinymce/plugins/nonbreaking/editor_plugin.js
|
143
|
+
- assets/vendor/tinymce/plugins/noneditable/editor_plugin.js
|
144
|
+
- assets/vendor/tinymce/plugins/pagebreak/editor_plugin.js
|
145
|
+
- assets/vendor/tinymce/plugins/paste/editor_plugin.js
|
146
|
+
- assets/vendor/tinymce/plugins/paste/js/pastetext.js
|
147
|
+
- assets/vendor/tinymce/plugins/paste/js/pasteword.js
|
148
|
+
- assets/vendor/tinymce/plugins/paste/langs/en_dlg.js
|
149
|
+
- assets/vendor/tinymce/plugins/paste/pastetext.htm
|
150
|
+
- assets/vendor/tinymce/plugins/paste/pasteword.htm
|
151
|
+
- assets/vendor/tinymce/plugins/preview/editor_plugin.js
|
152
|
+
- assets/vendor/tinymce/plugins/preview/example.html
|
153
|
+
- assets/vendor/tinymce/plugins/preview/jscripts/embed.js
|
154
|
+
- assets/vendor/tinymce/plugins/preview/preview.html
|
155
|
+
- assets/vendor/tinymce/plugins/print/editor_plugin.js
|
156
|
+
- assets/vendor/tinymce/plugins/save/editor_plugin.js
|
157
|
+
- assets/vendor/tinymce/plugins/searchreplace/css/searchreplace.css
|
158
|
+
- assets/vendor/tinymce/plugins/searchreplace/editor_plugin.js
|
159
|
+
- assets/vendor/tinymce/plugins/searchreplace/js/searchreplace.js
|
160
|
+
- assets/vendor/tinymce/plugins/searchreplace/langs/en_dlg.js
|
161
|
+
- assets/vendor/tinymce/plugins/searchreplace/searchreplace.htm
|
162
|
+
- assets/vendor/tinymce/plugins/spellchecker/css/content.css
|
163
|
+
- assets/vendor/tinymce/plugins/spellchecker/editor_plugin.js
|
164
|
+
- assets/vendor/tinymce/plugins/spellchecker/img/wline.gif
|
165
|
+
- assets/vendor/tinymce/plugins/style/css/props.css
|
166
|
+
- assets/vendor/tinymce/plugins/style/editor_plugin.js
|
167
|
+
- assets/vendor/tinymce/plugins/style/js/props.js
|
168
|
+
- assets/vendor/tinymce/plugins/style/langs/en_dlg.js
|
169
|
+
- assets/vendor/tinymce/plugins/style/props.htm
|
170
|
+
- assets/vendor/tinymce/plugins/tabfocus/editor_plugin.js
|
171
|
+
- assets/vendor/tinymce/plugins/table/cell.htm
|
172
|
+
- assets/vendor/tinymce/plugins/table/css/cell.css
|
173
|
+
- assets/vendor/tinymce/plugins/table/css/row.css
|
174
|
+
- assets/vendor/tinymce/plugins/table/css/table.css
|
175
|
+
- assets/vendor/tinymce/plugins/table/editor_plugin.js
|
176
|
+
- assets/vendor/tinymce/plugins/table/js/cell.js
|
177
|
+
- assets/vendor/tinymce/plugins/table/js/merge_cells.js
|
178
|
+
- assets/vendor/tinymce/plugins/table/js/row.js
|
179
|
+
- assets/vendor/tinymce/plugins/table/js/table.js
|
180
|
+
- assets/vendor/tinymce/plugins/table/langs/en_dlg.js
|
181
|
+
- assets/vendor/tinymce/plugins/table/merge_cells.htm
|
182
|
+
- assets/vendor/tinymce/plugins/table/row.htm
|
183
|
+
- assets/vendor/tinymce/plugins/table/table.htm
|
184
|
+
- assets/vendor/tinymce/plugins/template/blank.htm
|
185
|
+
- assets/vendor/tinymce/plugins/template/css/template.css
|
186
|
+
- assets/vendor/tinymce/plugins/template/editor_plugin.js
|
187
|
+
- assets/vendor/tinymce/plugins/template/js/template.js
|
188
|
+
- assets/vendor/tinymce/plugins/template/langs/en_dlg.js
|
189
|
+
- assets/vendor/tinymce/plugins/template/template.htm
|
190
|
+
- assets/vendor/tinymce/plugins/visualchars/editor_plugin.js
|
191
|
+
- assets/vendor/tinymce/plugins/wordcount/editor_plugin.js
|
192
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/abbr.htm
|
193
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/acronym.htm
|
194
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/attributes.htm
|
195
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/cite.htm
|
196
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/css/attributes.css
|
197
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/css/popup.css
|
198
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/del.htm
|
199
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/editor_plugin.js
|
200
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/ins.htm
|
201
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/js/abbr.js
|
202
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/js/acronym.js
|
203
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/js/attributes.js
|
204
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/js/cite.js
|
205
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/js/del.js
|
206
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/js/element_common.js
|
207
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/js/ins.js
|
208
|
+
- assets/vendor/tinymce/plugins/xhtmlxtras/langs/en_dlg.js
|
209
|
+
- assets/vendor/tinymce/themes/advanced/about.htm
|
210
|
+
- assets/vendor/tinymce/themes/advanced/anchor.htm
|
211
|
+
- assets/vendor/tinymce/themes/advanced/charmap.htm
|
212
|
+
- assets/vendor/tinymce/themes/advanced/color_picker.htm
|
213
|
+
- assets/vendor/tinymce/themes/advanced/editor_template.js
|
214
|
+
- assets/vendor/tinymce/themes/advanced/image.htm
|
215
|
+
- assets/vendor/tinymce/themes/advanced/img/colorpicker.jpg
|
216
|
+
- assets/vendor/tinymce/themes/advanced/img/flash.gif
|
217
|
+
- assets/vendor/tinymce/themes/advanced/img/icons.gif
|
218
|
+
- assets/vendor/tinymce/themes/advanced/img/iframe.gif
|
219
|
+
- assets/vendor/tinymce/themes/advanced/img/pagebreak.gif
|
220
|
+
- assets/vendor/tinymce/themes/advanced/img/quicktime.gif
|
221
|
+
- assets/vendor/tinymce/themes/advanced/img/realmedia.gif
|
222
|
+
- assets/vendor/tinymce/themes/advanced/img/shockwave.gif
|
223
|
+
- assets/vendor/tinymce/themes/advanced/img/trans.gif
|
224
|
+
- assets/vendor/tinymce/themes/advanced/img/video.gif
|
225
|
+
- assets/vendor/tinymce/themes/advanced/img/windowsmedia.gif
|
226
|
+
- assets/vendor/tinymce/themes/advanced/js/about.js
|
227
|
+
- assets/vendor/tinymce/themes/advanced/js/anchor.js
|
228
|
+
- assets/vendor/tinymce/themes/advanced/js/charmap.js
|
229
|
+
- assets/vendor/tinymce/themes/advanced/js/color_picker.js
|
230
|
+
- assets/vendor/tinymce/themes/advanced/js/image.js
|
231
|
+
- assets/vendor/tinymce/themes/advanced/js/link.js
|
232
|
+
- assets/vendor/tinymce/themes/advanced/js/source_editor.js
|
233
|
+
- assets/vendor/tinymce/themes/advanced/langs/en.js
|
234
|
+
- assets/vendor/tinymce/themes/advanced/langs/en_dlg.js
|
235
|
+
- assets/vendor/tinymce/themes/advanced/link.htm
|
236
|
+
- assets/vendor/tinymce/themes/advanced/shortcuts.htm
|
237
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/content.css
|
238
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/dialog.css
|
239
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/img/buttons.png
|
240
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/img/items.gif
|
241
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/img/menu_arrow.gif
|
242
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/img/menu_check.gif
|
243
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/img/progress.gif
|
244
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/img/tabs.gif
|
245
|
+
- assets/vendor/tinymce/themes/advanced/skins/default/ui.css
|
246
|
+
- assets/vendor/tinymce/themes/advanced/skins/highcontrast/content.css
|
247
|
+
- assets/vendor/tinymce/themes/advanced/skins/highcontrast/dialog.css
|
248
|
+
- assets/vendor/tinymce/themes/advanced/skins/highcontrast/ui.css
|
249
|
+
- assets/vendor/tinymce/themes/advanced/skins/o2k7/content.css
|
250
|
+
- assets/vendor/tinymce/themes/advanced/skins/o2k7/dialog.css
|
251
|
+
- assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg.png
|
252
|
+
- assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png
|
253
|
+
- assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png
|
254
|
+
- assets/vendor/tinymce/themes/advanced/skins/o2k7/ui.css
|
255
|
+
- assets/vendor/tinymce/themes/advanced/skins/o2k7/ui_black.css
|
256
|
+
- assets/vendor/tinymce/themes/advanced/skins/o2k7/ui_silver.css
|
257
|
+
- assets/vendor/tinymce/themes/advanced/source_editor.htm
|
258
|
+
- assets/vendor/tinymce/themes/simple/editor_template.js
|
259
|
+
- assets/vendor/tinymce/themes/simple/img/icons.gif
|
260
|
+
- assets/vendor/tinymce/themes/simple/langs/en.js
|
261
|
+
- assets/vendor/tinymce/themes/simple/skins/default/content.css
|
262
|
+
- assets/vendor/tinymce/themes/simple/skins/default/ui.css
|
263
|
+
- assets/vendor/tinymce/themes/simple/skins/o2k7/content.css
|
264
|
+
- assets/vendor/tinymce/themes/simple/skins/o2k7/img/button_bg.png
|
265
|
+
- assets/vendor/tinymce/themes/simple/skins/o2k7/ui.css
|
266
|
+
- assets/vendor/tinymce/tiny_mce.js
|
267
|
+
- assets/vendor/tinymce/tiny_mce_popup.js
|
268
|
+
- assets/vendor/tinymce/utils/editable_selects.js
|
269
|
+
- assets/vendor/tinymce/utils/form_utils.js
|
270
|
+
- assets/vendor/tinymce/utils/mctabs.js
|
271
|
+
- assets/vendor/tinymce/utils/validate.js
|
272
|
+
- lib/tinymce/railtie.rb
|
273
|
+
- lib/tinymce/version.rb
|
274
|
+
- lib/tinymce-rails.rb
|
275
|
+
has_rdoc: true
|
276
|
+
homepage:
|
277
|
+
licenses: []
|
278
|
+
post_install_message:
|
279
|
+
rdoc_options: []
|
280
|
+
require_paths:
|
281
|
+
- lib
|
282
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
283
|
+
none: false
|
284
|
+
requirements:
|
285
|
+
- - ! '>='
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: '0'
|
288
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
290
|
+
requirements:
|
291
|
+
- - ! '>='
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
294
|
+
requirements: []
|
295
|
+
rubyforge_project:
|
296
|
+
rubygems_version: 1.6.2
|
297
|
+
signing_key:
|
298
|
+
specification_version: 3
|
299
|
+
summary: Rails 3.1 integration for TinyMCE.
|
300
|
+
test_files: []
|