activeadmin_quill_editor 0.2.0 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- _misc/
2
-
3
- *.orig
@@ -1,73 +0,0 @@
1
- require:
2
- - rubocop-rspec
3
-
4
- Rails:
5
- Enabled: true
6
-
7
- AllCops:
8
- TargetRubyVersion: 2.3.8
9
- TargetRailsVersion: 5.2
10
- Exclude:
11
- - db/schema.rb
12
- - bin/*
13
- - node_modules/**/*
14
- # Temporary files
15
- - tmp/**/*
16
-
17
- Rails/InverseOf:
18
- Enabled: false
19
-
20
- Style/Documentation:
21
- Enabled: false
22
-
23
- Metrics/ClassLength:
24
- # Default value is 100
25
- Max: 150
26
-
27
- Metrics/LineLength:
28
- # Default is 80
29
- Max: 120
30
-
31
- Metrics/ModuleLength:
32
- # Default is 100
33
- Max: 150
34
-
35
- Metrics/ParameterLists:
36
- # Default is 5
37
- Max: 6
38
-
39
- RSpec/ExampleLength:
40
- # Default is 10
41
- Max: 20
42
-
43
- Style/FrozenStringLiteralComment:
44
- # Deface DOES edit strings in place
45
- Exclude:
46
- - 'app/overrides/**/*'
47
-
48
- RSpec/MultipleExpectations:
49
- # Default is 3
50
- Max: 5
51
-
52
- RSpec/NestedGroups:
53
- # Default is 3
54
- Max: 6
55
-
56
- Metrics/AbcSize:
57
- Max: 25
58
-
59
- Metrics/BlockLength:
60
- # This value double the rubocop default
61
- Max: 50
62
-
63
- Metrics/CyclomaticComplexity:
64
- # This value double the rubocop default
65
- Max: 12
66
-
67
- Metrics/MethodLength:
68
- # This value double the rubocop default
69
- Max: 20
70
-
71
- Metrics/PerceivedComplexity:
72
- # Default is 7
73
- Max: 10
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'activeadmin/quill_editor/version'
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = 'activeadmin_quill_editor'
9
- spec.version = ActiveAdmin::QuillEditor::VERSION
10
- spec.summary = 'Quill Editor for ActiveAdmin'
11
- spec.description = 'An Active Admin plugin to use Quill Rich Text Editor'
12
- spec.license = 'MIT'
13
- spec.authors = ['Mattia Roccoberton']
14
- spec.email = 'mat@blocknot.es'
15
- spec.homepage = 'https://github.com/blocknotes/activeadmin_quill_editor'
16
-
17
- spec.files = `git ls-files -z`.split("\x0")
18
- spec.require_paths = ['lib']
19
-
20
- spec.add_runtime_dependency 'activeadmin', '>= 1.0'
21
- end
@@ -1,24 +0,0 @@
1
- @import 'activeadmin/quill_editor/quill.snow'
2
-
3
- body.active_admin form .quill-editor
4
- display: inline-block
5
- width: calc(80% - 22px)
6
- .ql-editor
7
- background-color: #fff
8
- max-height: 300px
9
- min-height: 150px
10
- padding: 10px
11
- // reset internal elements
12
- *
13
- margin: initial
14
- padding: initial
15
- text-align: initial
16
- p
17
- margin-bottom: 1em
18
- ol
19
- list-style-type: decimal
20
- ul
21
- list-style-type: disc
22
- ul, ol
23
- margin: 0 1.5em 1.5em 0
24
- padding-left: 1.5em
Binary file