new_ckeditor 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +149 -0
- data/Rakefile +32 -0
- data/app/assets/config/new_ckeditor_manifest.js +6 -0
- data/app/assets/javascripts/new_ckeditor/balloon/ckeditor.js +6 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/af.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ar.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ast.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/az.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/bg.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ca.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/cs.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/da.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/de-ch.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/de.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/el.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/en-au.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/en-gb.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/eo.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/es.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/et.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/eu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/fa.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/fi.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/fr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/gl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/gu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/he.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/hr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/hu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/id.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/it.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ja.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/km.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/kn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ko.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ku.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/lt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/lv.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ms.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/nb.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ne.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/nl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/no.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/oc.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/pl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/pt-br.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/pt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ro.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ru.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/si.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/sk.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/sl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/sq.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/sr-latn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/sr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/sv.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/tr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/tt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/ug.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/uk.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/vi.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/zh-cn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/balloon/translations/zh.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/ckeditor.js +6 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/af.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ar.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ast.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/az.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/bg.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ca.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/cs.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/da.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/de-ch.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/de.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/el.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/en-au.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/en-gb.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/eo.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/es.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/et.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/eu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/fa.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/fi.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/fr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/gl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/gu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/he.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/hr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/hu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/id.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/it.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ja.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/km.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/kn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ko.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ku.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/lt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/lv.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ms.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/nb.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ne.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/nl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/no.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/oc.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/pl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/pt-br.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/pt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ro.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ru.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/si.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/sk.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/sl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/sq.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/sr-latn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/sr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/sv.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/tr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/tt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/ug.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/uk.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/vi.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/zh-cn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/classic/translations/zh.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/ckeditor.js +6 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/af.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ar.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ast.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/az.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/bg.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ca.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/cs.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/da.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/de-ch.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/de.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/el.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/en-au.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/en-gb.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/eo.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/es.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/et.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/eu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/fa.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/fi.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/fr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/gl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/gu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/he.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/hr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/hu.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/id.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/it.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ja.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/km.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/kn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ko.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ku.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/lt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/lv.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ms.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/nb.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ne.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/nl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/no.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/oc.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/pl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/pt-br.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/pt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ro.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ru.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/si.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/sk.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/sl.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/sq.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/sr-latn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/sr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/sv.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/tr.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/tt.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/ug.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/uk.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/vi.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/zh-cn.js +1 -0
- data/app/assets/javascripts/new_ckeditor/inline/translations/zh.js +1 -0
- data/app/assets/stylesheets/new_ckeditor/ckeditor.css +300 -0
- data/app/views/new_ckeditor/shared/_balloon.html.erb +79 -0
- data/app/views/new_ckeditor/shared/_classic.html.erb +58 -0
- data/app/views/new_ckeditor/shared/_inline.html.erb +65 -0
- data/config/routes.rb +2 -0
- data/lib/generators/new_ckeditor_generator.rb +10 -0
- data/lib/new_ckeditor/addons/simple_form.rb +16 -0
- data/lib/new_ckeditor/editor.rb +65 -0
- data/lib/new_ckeditor/engine.rb +24 -0
- data/lib/new_ckeditor/rails_ext/form_builder.rb +11 -0
- data/lib/new_ckeditor/rails_ext/form_helper.rb +11 -0
- data/lib/new_ckeditor/rails_ext/view_helper.rb +12 -0
- data/lib/new_ckeditor/version.rb +3 -0
- data/lib/new_ckeditor.rb +15 -0
- data/lib/tasks/new_ckeditor_tasks.rake +4 -0
- metadata +326 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'simple_form'
|
2
|
+
|
3
|
+
module NewCkeditor
|
4
|
+
module Addons
|
5
|
+
module SimpleForm
|
6
|
+
class CkeditorInput < ::SimpleForm::Inputs::Base
|
7
|
+
def input(_wrapper_options = nil)
|
8
|
+
input_html_options[:editor] ||= options[:editor]
|
9
|
+
@builder.ckeditor(attribute_name, input_html_options)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
::SimpleForm::FormBuilder.map_type :ckeditor, to: NewCkeditor::Addons::SimpleForm::CkeditorInput
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'active_support'
|
2
|
+
require 'action_view/helpers/tag_helper'
|
3
|
+
require 'action_view/helpers/form_tag_helper'
|
4
|
+
require 'action_view/helpers/javascript_helper'
|
5
|
+
|
6
|
+
module NewCkeditor
|
7
|
+
class Editor
|
8
|
+
include ActionView::Helpers::TagHelper
|
9
|
+
include ActionView::Helpers::FormTagHelper
|
10
|
+
include ActionView::Helpers::JavaScriptHelper
|
11
|
+
|
12
|
+
attr_reader :template, :options
|
13
|
+
|
14
|
+
def initialize(template, options)
|
15
|
+
@template = template
|
16
|
+
options.delete(:required) # to avoid bug of validating empty textarea
|
17
|
+
@options = options.deep_stringify_keys!
|
18
|
+
end
|
19
|
+
|
20
|
+
def render_instance_tag(object_name, method)
|
21
|
+
tag = build_instance_tag(object_name, method)
|
22
|
+
tag.send(:add_default_name_and_id, options) if options['id'].blank?
|
23
|
+
render(tag.respond_to?(:to_text_area_tag) ? tag.to_text_area_tag(options) : tag.render, options)
|
24
|
+
end
|
25
|
+
|
26
|
+
def render_tag(name, content)
|
27
|
+
options['id'] = sanitize_to_id(options['id'] || name)
|
28
|
+
tag = build_tag(name, content, options)
|
29
|
+
render(tag, options)
|
30
|
+
end
|
31
|
+
|
32
|
+
protected
|
33
|
+
|
34
|
+
def render(input, options)
|
35
|
+
result = ActiveSupport::SafeBuffer.new
|
36
|
+
result << input
|
37
|
+
result << @template.render("/new_ckeditor/shared/#{editor_template}", id: options["id"], options: options)
|
38
|
+
result
|
39
|
+
end
|
40
|
+
|
41
|
+
def editor_type
|
42
|
+
options.dig("editor", "type") || "classic"
|
43
|
+
end
|
44
|
+
|
45
|
+
def editor_template
|
46
|
+
options.dig("editor", "template") || "classic"
|
47
|
+
end
|
48
|
+
|
49
|
+
def build_instance_tag(object_name, method)
|
50
|
+
if editor_type.to_s == "classic"
|
51
|
+
ActionView::Base::Tags::TextArea.new(object_name, method, template, options.symbolize_keys)
|
52
|
+
else
|
53
|
+
ActionView::Base::Tags::HiddenField.new(object_name, method, template, options.symbolize_keys)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def build_tag(name, content, options)
|
58
|
+
if editor_type.to_s == "classic"
|
59
|
+
text_area_tag(name, content, options)
|
60
|
+
else
|
61
|
+
hidden_field_tag(name, content, options)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module NewCkeditor
|
2
|
+
class Engine < ::Rails::Engine
|
3
|
+
|
4
|
+
initializer 'rails_db.assets_precompile', :group => :all do |app|
|
5
|
+
app.config.assets.precompile += [
|
6
|
+
'new_ckeditor/*',
|
7
|
+
'new_ckeditor/**/*'
|
8
|
+
]
|
9
|
+
end
|
10
|
+
|
11
|
+
initializer 'new_ckeditor.helpers' do
|
12
|
+
ActiveSupport.on_load :action_view do
|
13
|
+
ActionView::Base.send :include, NewCkeditor::RailsExt::ViewHelper
|
14
|
+
ActionView::Base.send :include, NewCkeditor::RailsExt::FormHelper
|
15
|
+
ActionView::Helpers::FormBuilder.send :include, NewCkeditor::RailsExt::FormBuilder
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
initializer 'ckeditor.addons' do
|
20
|
+
require 'new_ckeditor/addons/simple_form' if Object.const_defined?('SimpleForm')
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
data/lib/new_ckeditor.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require "new_ckeditor/engine"
|
2
|
+
|
3
|
+
module NewCkeditor
|
4
|
+
autoload :Editor, 'new_ckeditor/editor'
|
5
|
+
|
6
|
+
module RailsExt
|
7
|
+
autoload :ViewHelper, 'new_ckeditor/rails_ext/view_helper.rb'
|
8
|
+
autoload :FormHelper, 'new_ckeditor/rails_ext/form_helper.rb'
|
9
|
+
autoload :FormBuilder, 'new_ckeditor/rails_ext/form_builder.rb'
|
10
|
+
end
|
11
|
+
|
12
|
+
module Addons
|
13
|
+
autoload :SimpleFormBuilder, 'new_ckeditor/addons/simple_form'
|
14
|
+
end
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,326 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: new_ckeditor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Igor Kasyanchuk
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-02-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: carrierwave
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simple_form
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: xxx
|
98
|
+
email:
|
99
|
+
- igorkasyanchuk@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- MIT-LICENSE
|
105
|
+
- README.md
|
106
|
+
- Rakefile
|
107
|
+
- app/assets/config/new_ckeditor_manifest.js
|
108
|
+
- app/assets/javascripts/new_ckeditor/balloon/ckeditor.js
|
109
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/af.js
|
110
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ar.js
|
111
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ast.js
|
112
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/az.js
|
113
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/bg.js
|
114
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ca.js
|
115
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/cs.js
|
116
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/da.js
|
117
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/de-ch.js
|
118
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/de.js
|
119
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/el.js
|
120
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/en-au.js
|
121
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/en-gb.js
|
122
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/eo.js
|
123
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/es.js
|
124
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/et.js
|
125
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/eu.js
|
126
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/fa.js
|
127
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/fi.js
|
128
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/fr.js
|
129
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/gl.js
|
130
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/gu.js
|
131
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/he.js
|
132
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/hr.js
|
133
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/hu.js
|
134
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/id.js
|
135
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/it.js
|
136
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ja.js
|
137
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/km.js
|
138
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/kn.js
|
139
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ko.js
|
140
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ku.js
|
141
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/lt.js
|
142
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/lv.js
|
143
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ms.js
|
144
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/nb.js
|
145
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ne.js
|
146
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/nl.js
|
147
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/no.js
|
148
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/oc.js
|
149
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/pl.js
|
150
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/pt-br.js
|
151
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/pt.js
|
152
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ro.js
|
153
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ru.js
|
154
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/si.js
|
155
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/sk.js
|
156
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/sl.js
|
157
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/sq.js
|
158
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/sr-latn.js
|
159
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/sr.js
|
160
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/sv.js
|
161
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/tr.js
|
162
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/tt.js
|
163
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/ug.js
|
164
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/uk.js
|
165
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/vi.js
|
166
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/zh-cn.js
|
167
|
+
- app/assets/javascripts/new_ckeditor/balloon/translations/zh.js
|
168
|
+
- app/assets/javascripts/new_ckeditor/classic/ckeditor.js
|
169
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/af.js
|
170
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ar.js
|
171
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ast.js
|
172
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/az.js
|
173
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/bg.js
|
174
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ca.js
|
175
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/cs.js
|
176
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/da.js
|
177
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/de-ch.js
|
178
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/de.js
|
179
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/el.js
|
180
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/en-au.js
|
181
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/en-gb.js
|
182
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/eo.js
|
183
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/es.js
|
184
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/et.js
|
185
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/eu.js
|
186
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/fa.js
|
187
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/fi.js
|
188
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/fr.js
|
189
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/gl.js
|
190
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/gu.js
|
191
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/he.js
|
192
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/hr.js
|
193
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/hu.js
|
194
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/id.js
|
195
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/it.js
|
196
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ja.js
|
197
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/km.js
|
198
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/kn.js
|
199
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ko.js
|
200
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ku.js
|
201
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/lt.js
|
202
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/lv.js
|
203
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ms.js
|
204
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/nb.js
|
205
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ne.js
|
206
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/nl.js
|
207
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/no.js
|
208
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/oc.js
|
209
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/pl.js
|
210
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/pt-br.js
|
211
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/pt.js
|
212
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ro.js
|
213
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ru.js
|
214
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/si.js
|
215
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/sk.js
|
216
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/sl.js
|
217
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/sq.js
|
218
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/sr-latn.js
|
219
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/sr.js
|
220
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/sv.js
|
221
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/tr.js
|
222
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/tt.js
|
223
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/ug.js
|
224
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/uk.js
|
225
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/vi.js
|
226
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/zh-cn.js
|
227
|
+
- app/assets/javascripts/new_ckeditor/classic/translations/zh.js
|
228
|
+
- app/assets/javascripts/new_ckeditor/inline/ckeditor.js
|
229
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/af.js
|
230
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ar.js
|
231
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ast.js
|
232
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/az.js
|
233
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/bg.js
|
234
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ca.js
|
235
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/cs.js
|
236
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/da.js
|
237
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/de-ch.js
|
238
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/de.js
|
239
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/el.js
|
240
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/en-au.js
|
241
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/en-gb.js
|
242
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/eo.js
|
243
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/es.js
|
244
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/et.js
|
245
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/eu.js
|
246
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/fa.js
|
247
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/fi.js
|
248
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/fr.js
|
249
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/gl.js
|
250
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/gu.js
|
251
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/he.js
|
252
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/hr.js
|
253
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/hu.js
|
254
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/id.js
|
255
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/it.js
|
256
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ja.js
|
257
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/km.js
|
258
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/kn.js
|
259
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ko.js
|
260
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ku.js
|
261
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/lt.js
|
262
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/lv.js
|
263
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ms.js
|
264
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/nb.js
|
265
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ne.js
|
266
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/nl.js
|
267
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/no.js
|
268
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/oc.js
|
269
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/pl.js
|
270
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/pt-br.js
|
271
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/pt.js
|
272
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ro.js
|
273
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ru.js
|
274
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/si.js
|
275
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/sk.js
|
276
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/sl.js
|
277
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/sq.js
|
278
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/sr-latn.js
|
279
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/sr.js
|
280
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/sv.js
|
281
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/tr.js
|
282
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/tt.js
|
283
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/ug.js
|
284
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/uk.js
|
285
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/vi.js
|
286
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/zh-cn.js
|
287
|
+
- app/assets/javascripts/new_ckeditor/inline/translations/zh.js
|
288
|
+
- app/assets/stylesheets/new_ckeditor/ckeditor.css
|
289
|
+
- app/views/new_ckeditor/shared/_balloon.html.erb
|
290
|
+
- app/views/new_ckeditor/shared/_classic.html.erb
|
291
|
+
- app/views/new_ckeditor/shared/_inline.html.erb
|
292
|
+
- config/routes.rb
|
293
|
+
- lib/generators/new_ckeditor_generator.rb
|
294
|
+
- lib/new_ckeditor.rb
|
295
|
+
- lib/new_ckeditor/addons/simple_form.rb
|
296
|
+
- lib/new_ckeditor/editor.rb
|
297
|
+
- lib/new_ckeditor/engine.rb
|
298
|
+
- lib/new_ckeditor/rails_ext/form_builder.rb
|
299
|
+
- lib/new_ckeditor/rails_ext/form_helper.rb
|
300
|
+
- lib/new_ckeditor/rails_ext/view_helper.rb
|
301
|
+
- lib/new_ckeditor/version.rb
|
302
|
+
- lib/tasks/new_ckeditor_tasks.rake
|
303
|
+
homepage: https://github.com/igorkasyanchuk/new_ckeditor
|
304
|
+
licenses:
|
305
|
+
- MIT
|
306
|
+
metadata: {}
|
307
|
+
post_install_message:
|
308
|
+
rdoc_options: []
|
309
|
+
require_paths:
|
310
|
+
- lib
|
311
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
312
|
+
requirements:
|
313
|
+
- - ">="
|
314
|
+
- !ruby/object:Gem::Version
|
315
|
+
version: '0'
|
316
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - ">="
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
321
|
+
requirements: []
|
322
|
+
rubygems_version: 3.0.6
|
323
|
+
signing_key:
|
324
|
+
specification_version: 4
|
325
|
+
summary: xxx
|
326
|
+
test_files: []
|