formtastic-epiceditor 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
Binary file
|
@@ -23,15 +23,14 @@ class EpicEditorInput < Formtastic::Inputs::TextInput
|
|
23
23
|
<script>
|
24
24
|
var el#{randNum} = $('##{id}'),
|
25
25
|
html = el#{randNum}.val(),
|
26
|
-
emptyVar = '',
|
27
26
|
opts = {
|
28
27
|
container: '#{id}-epiceditor',
|
29
28
|
clientSideStorage: false,
|
30
|
-
basePath: '',
|
29
|
+
basePath: '#{ActionController::Base.helpers.asset_path('epiceditor')}',
|
31
30
|
theme: {
|
32
|
-
base:'
|
33
|
-
preview:'
|
34
|
-
editor:'
|
31
|
+
base:'/themes/base/epiceditor.css',
|
32
|
+
preview:'/themes/preview/preview-dark.css',
|
33
|
+
editor:'/themes/editor/epic-light.css'
|
35
34
|
}
|
36
35
|
};
|
37
36
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formtastic-epiceditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -40,6 +40,7 @@ files:
|
|
40
40
|
- MIT-LICENSE
|
41
41
|
- README.md
|
42
42
|
- Rakefile
|
43
|
+
- formtastic-epiceditor-0.0.4.gem
|
43
44
|
- formtastic-epiceditor.gemspec
|
44
45
|
- lib/formtastic-epiceditor.rb
|
45
46
|
- lib/formtastic-epiceditor/inputs/epic_editor_input.rb
|