umeditor-rails 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +31 -0
  6. data/Rakefile +2 -0
  7. data/app/assets/javascripts/umeditor.js +2 -0
  8. data/lib/tasks/umeditor.rake +12 -0
  9. data/lib/umeditor/rails/engine.rb +20 -0
  10. data/lib/umeditor/rails/version.rb +6 -0
  11. data/lib/umeditor/rails.rb +7 -0
  12. data/lib/umeditor-rails.rb +1 -0
  13. data/umeditor-rails.gemspec +23 -0
  14. data/vendor/assets/javascripts/umeditor/dialogs/emotion/emotion.css +87 -0
  15. data/vendor/assets/javascripts/umeditor/dialogs/emotion/emotion.js +272 -0
  16. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/0.gif +0 -0
  17. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/bface.gif +0 -0
  18. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/cface.gif +0 -0
  19. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/fface.gif +0 -0
  20. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/jxface2.gif +0 -0
  21. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  22. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/tface.gif +0 -0
  23. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/wface.gif +0 -0
  24. data/vendor/assets/javascripts/umeditor/dialogs/emotion/images/yface.gif +0 -0
  25. data/vendor/assets/javascripts/umeditor/dialogs/formula/formula.css +32 -0
  26. data/vendor/assets/javascripts/umeditor/dialogs/formula/formula.html +212 -0
  27. data/vendor/assets/javascripts/umeditor/dialogs/formula/formula.js +124 -0
  28. data/vendor/assets/javascripts/umeditor/dialogs/formula/images/formula.png +0 -0
  29. data/vendor/assets/javascripts/umeditor/dialogs/image/image.css +42 -0
  30. data/vendor/assets/javascripts/umeditor/dialogs/image/image.js +445 -0
  31. data/vendor/assets/javascripts/umeditor/dialogs/image/images/close.png +0 -0
  32. data/vendor/assets/javascripts/umeditor/dialogs/image/images/upload1.png +0 -0
  33. data/vendor/assets/javascripts/umeditor/dialogs/image/images/upload2.png +0 -0
  34. data/vendor/assets/javascripts/umeditor/dialogs/link/link.js +73 -0
  35. data/vendor/assets/javascripts/umeditor/dialogs/map/map.html +148 -0
  36. data/vendor/assets/javascripts/umeditor/dialogs/map/map.js +263 -0
  37. data/vendor/assets/javascripts/umeditor/dialogs/video/images/center_focus.jpg +0 -0
  38. data/vendor/assets/javascripts/umeditor/dialogs/video/images/left_focus.jpg +0 -0
  39. data/vendor/assets/javascripts/umeditor/dialogs/video/images/none_focus.jpg +0 -0
  40. data/vendor/assets/javascripts/umeditor/dialogs/video/images/right_focus.jpg +0 -0
  41. data/vendor/assets/javascripts/umeditor/dialogs/video/video.css +59 -0
  42. data/vendor/assets/javascripts/umeditor/dialogs/video/video.js +282 -0
  43. data/vendor/assets/javascripts/umeditor/index.html +277 -0
  44. data/vendor/assets/javascripts/umeditor/lang/en/en.js +150 -0
  45. data/vendor/assets/javascripts/umeditor/lang/en/images/addimage.png +0 -0
  46. data/vendor/assets/javascripts/umeditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  47. data/vendor/assets/javascripts/umeditor/lang/en/images/alldeletebtnupskin.png +0 -0
  48. data/vendor/assets/javascripts/umeditor/lang/en/images/background.png +0 -0
  49. data/vendor/assets/javascripts/umeditor/lang/en/images/button.png +0 -0
  50. data/vendor/assets/javascripts/umeditor/lang/en/images/copy.png +0 -0
  51. data/vendor/assets/javascripts/umeditor/lang/en/images/deletedisable.png +0 -0
  52. data/vendor/assets/javascripts/umeditor/lang/en/images/deleteenable.png +0 -0
  53. data/vendor/assets/javascripts/umeditor/lang/en/images/imglabel.png +0 -0
  54. data/vendor/assets/javascripts/umeditor/lang/en/images/listbackground.png +0 -0
  55. data/vendor/assets/javascripts/umeditor/lang/en/images/localimage.png +0 -0
  56. data/vendor/assets/javascripts/umeditor/lang/en/images/music.png +0 -0
  57. data/vendor/assets/javascripts/umeditor/lang/en/images/rotateleftdisable.png +0 -0
  58. data/vendor/assets/javascripts/umeditor/lang/en/images/rotateleftenable.png +0 -0
  59. data/vendor/assets/javascripts/umeditor/lang/en/images/rotaterightdisable.png +0 -0
  60. data/vendor/assets/javascripts/umeditor/lang/en/images/rotaterightenable.png +0 -0
  61. data/vendor/assets/javascripts/umeditor/lang/en/images/upload.png +0 -0
  62. data/vendor/assets/javascripts/umeditor/lang/zh-cn/images/copy.png +0 -0
  63. data/vendor/assets/javascripts/umeditor/lang/zh-cn/images/imglabel.png +0 -0
  64. data/vendor/assets/javascripts/umeditor/lang/zh-cn/images/localimage.png +0 -0
  65. data/vendor/assets/javascripts/umeditor/lang/zh-cn/images/music.png +0 -0
  66. data/vendor/assets/javascripts/umeditor/lang/zh-cn/images/upload.png +0 -0
  67. data/vendor/assets/javascripts/umeditor/lang/zh-cn/zh-cn.js +150 -0
  68. data/vendor/assets/javascripts/umeditor/themes/default/css/umeditor.css +773 -0
  69. data/vendor/assets/javascripts/umeditor/themes/default/css/umeditor.min.css +8 -0
  70. data/vendor/assets/javascripts/umeditor/themes/default/images/caret.png +0 -0
  71. data/vendor/assets/javascripts/umeditor/themes/default/images/close.png +0 -0
  72. data/vendor/assets/javascripts/umeditor/themes/default/images/icons.gif +0 -0
  73. data/vendor/assets/javascripts/umeditor/themes/default/images/icons.png +0 -0
  74. data/vendor/assets/javascripts/umeditor/themes/default/images/ok.gif +0 -0
  75. data/vendor/assets/javascripts/umeditor/themes/default/images/pop-bg.png +0 -0
  76. data/vendor/assets/javascripts/umeditor/themes/default/images/spacer.gif +0 -0
  77. data/vendor/assets/javascripts/umeditor/themes/default/images/videologo.gif +0 -0
  78. data/vendor/assets/javascripts/umeditor/third-party/jquery.min.js +6 -0
  79. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/Symbola.eot +0 -0
  80. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/Symbola.otf +0 -0
  81. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/Symbola.svg +5102 -0
  82. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/Symbola.ttf +0 -0
  83. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/Symbola.woff +0 -0
  84. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/STIXFontLicense2010.txt +103 -0
  85. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneral-webfont.eot +0 -0
  86. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneral-webfont.svg +3318 -0
  87. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneral-webfont.ttf +0 -0
  88. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneral-webfont.woff +0 -0
  89. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralbol-webfont.eot +0 -0
  90. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralbol-webfont.svg +1738 -0
  91. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralbol-webfont.ttf +0 -0
  92. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralbol-webfont.woff +0 -0
  93. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralbolita-webfont.eot +0 -0
  94. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralbolita-webfont.svg +1137 -0
  95. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralbolita-webfont.ttf +0 -0
  96. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralbolita-webfont.woff +0 -0
  97. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralitalic-webfont.eot +0 -0
  98. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralitalic-webfont.svg +1089 -0
  99. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralitalic-webfont.ttf +0 -0
  100. data/vendor/assets/javascripts/umeditor/third-party/mathquill/font/stixgeneral-bundle/stixgeneralitalic-webfont.woff +0 -0
  101. data/vendor/assets/javascripts/umeditor/third-party/mathquill/mathquill.css +357 -0
  102. data/vendor/assets/javascripts/umeditor/third-party/mathquill/mathquill.js +3888 -0
  103. data/vendor/assets/javascripts/umeditor/third-party/mathquill/mathquill.min.js +2 -0
  104. data/vendor/assets/javascripts/umeditor/umeditor.config.js +249 -0
  105. data/vendor/assets/javascripts/umeditor/umeditor.js +10923 -0
  106. data/vendor/assets/javascripts/umeditor/umeditor.min.js +264 -0
  107. metadata +178 -0
@@ -0,0 +1,103 @@
1
+ STIX Font License
2
+
3
+ 24 May 2010
4
+
5
+ Copyright (c) 2001-2010 by the STI Pub Companies, consisting of the American
6
+ Institute of Physics, the American Chemical Society, the American Mathematical
7
+ Society, the American Physical Society, Elsevier, Inc., and The Institute of
8
+ Electrical and Electronic Engineers, Inc. (www.stixfonts.org), with Reserved
9
+ Font Name STIX Fonts, STIX Fonts (TM) is a trademark of The Institute of
10
+ Electrical and Electronics Engineers, Inc.
11
+
12
+ Portions copyright (c) 1998-2003 by MicroPress, Inc. (www.micropress-inc.com),
13
+ with Reserved Font Name TM Math. To obtain additional mathematical fonts, please
14
+ contact MicroPress, Inc., 68-30 Harrow Street, Forest Hills, NY 11375, USA,
15
+ Phone: (718) 575-1816.
16
+
17
+ Portions copyright (c) 1990 by Elsevier, Inc.
18
+
19
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
20
+ This license is copied below, and is also available with a FAQ at:
21
+ http://scripts.sil.org/OFL
22
+
23
+ ---------------------------------------------------------------------------
24
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
25
+ ---------------------------------------------------------------------------
26
+
27
+ PREAMBLE
28
+
29
+ The goals of the Open Font License (OFL) are to stimulate worldwide development
30
+ of collaborative font projects, to support the font creation efforts of academic
31
+ and linguistic communities, and to provide a free and open framework in which
32
+ fonts may be shared and improved in partnership with others.
33
+
34
+ The OFL allows the licensed fonts to be used, studied, modified and redistributed
35
+ freely as long as they are not sold by themselves. The fonts, including any
36
+ derivative works, can be bundled, embedded, redistributed and/or sold with any
37
+ software provided that any reserved names are not used by derivative works. The
38
+ fonts and derivatives, however, cannot be released under any other type of license.
39
+ The requirement for fonts to remain under this license does not apply to any
40
+ document created using the fonts or their derivatives.
41
+
42
+ DEFINITIONS
43
+
44
+ "Font Software" refers to the set of files released by the Copyright Holder(s) under
45
+ this license and clearly marked as such. This may include source files, build
46
+ scripts and documentation.
47
+
48
+ "Reserved Font Name" refers to any names specified as such after the copyright
49
+ statement(s).
50
+
51
+ "Original Version" refers to the collection of Font Software components as
52
+ distributed by the Copyright Holder(s).
53
+
54
+ "Modified Version" refers to any derivative made by adding to, deleting, or
55
+ substituting -- in part or in whole -- any of the components of the Original Version,
56
+ by changing formats or by porting the Font Software to a new environment.
57
+
58
+ "Author" refers to any designer, engineer, programmer, technical writer or other
59
+ person who contributed to the Font Software.
60
+
61
+ PERMISSION & CONDITIONS
62
+
63
+ Permission is hereby granted, free of charge, to any person obtaining a copy of the
64
+ Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell
65
+ modified and unmodified copies of the Font Software, subject to the following
66
+ conditions:
67
+
68
+ 1) Neither the Font Software nor any of its individual components, in Original or
69
+ Modified Versions, may be sold by itself.
70
+
71
+ 2) Original or Modified Versions of the Font Software may be bundled, redistributed
72
+ and/or sold with any software, provided that each copy contains the above copyright
73
+ notice and this license. These can be included either as stand-alone text files,
74
+ human-readable headers or in the appropriate machine-readable metadata fields within
75
+ text or binary files as long as those fields can be easily viewed by the user.
76
+
77
+ 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless
78
+ explicit written permission is granted by the corresponding Copyright Holder. This
79
+ restriction only applies to the primary font name as presented to the users.
80
+
81
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall
82
+ not be used to promote, endorse or advertise any Modified Version, except to
83
+ acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with
84
+ their explicit written permission.
85
+
86
+ 5) The Font Software, modified or unmodified, in part or in whole, must be distributed
87
+ entirely under this license, and must not be distributed under any other license. The
88
+ requirement for fonts to remain under this license does not apply to any document
89
+ created using the Font Software.
90
+
91
+ TERMINATION
92
+
93
+ This license becomes null and void if any of the above conditions are not met.
94
+
95
+ DISCLAIMER
96
+
97
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
98
+ INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
99
+ PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER
100
+ RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
101
+ LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
102
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
103
+ INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.