activeadmin_trumbowyg 0.2.16 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -2
- data/lib/activeadmin/trumbowyg/version.rb +1 -1
- metadata +15 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f88f56fee9b7d9bfd498f56cdb96803fd54bc7c950d56743051413bdaf3fe1da
|
4
|
+
data.tar.gz: '08a0be194c1f4a32fc6240eb6e39ead041819c1012b5e3fb06a7b2cb5465e99e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6eb5a3120638538d7edc83eb337e3a3aacf51a7b3f9715dc56b0e49a4a9af46214649c66ea2a7f49228b48a899d487bf04cd02da8c6277c990c396758c072d0
|
7
|
+
data.tar.gz: 2e1ac571ef7e9f0a96dc64ce54792f7b4ba65e82d70bf89c8f78b0a7d5a08fc7051cef4adf6a84bea6ee27619603496761cc70805e712e544953be23282fc7df
|
data/README.md
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
[![gem version](https://badge.fury.io/rb/activeadmin_trumbowyg.svg)](https://badge.fury.io/rb/activeadmin_trumbowyg)
|
3
3
|
[![gem downloads](https://badgen.net/rubygems/dt/activeadmin_trumbowyg)](https://rubygems.org/gems/activeadmin_trumbowyg)
|
4
4
|
[![linters](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/linters.yml)
|
5
|
-
[![specs](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/
|
5
|
+
[![specs Rails 6.1](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails61.yml/badge.svg)](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails61.yml)
|
6
|
+
[![specs Rails 7.0](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails70.yml/badge.svg)](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails70.yml)
|
6
7
|
|
7
8
|
An *Active Admin* plugin to use [Trumbowyg](https://alex-d.github.io/Trumbowyg/) as WYSIWYG editor in form inputs.
|
8
9
|
|
@@ -11,12 +12,15 @@ Features:
|
|
11
12
|
- customizable options via data attributes in the form input;
|
12
13
|
- plugins included, like images upload.
|
13
14
|
|
14
|
-
![screenshot](screenshot.png)
|
15
|
+
![screenshot](extra/screenshot.png)
|
15
16
|
|
16
17
|
Please :star: if you like it.
|
17
18
|
|
18
19
|
## Install
|
19
20
|
|
21
|
+
*NOTE*: if you are using Ruby < 3.0, please use Activeadmin Trumbowyg 1.0.0
|
22
|
+
|
23
|
+
- Add a SASS/SCSS gem to your Gemfile (ex. `gem 'sassc'`)
|
20
24
|
- After installing Active Admin, add to your Gemfile: `gem 'activeadmin_trumbowyg'` (and execute *bundle*)
|
21
25
|
- Add at the end of your Active Admin styles (_app/assets/stylesheets/active_admin.scss_):
|
22
26
|
```css
|
@@ -92,6 +96,10 @@ end
|
|
92
96
|
|
93
97
|
For the relevant files of this upload example see [here](examples/upload_plugin_using_activestorage/). Consider that this is just a basic example: images are uploaded as soon as they are attached to the editor (regardless of the form submit), it shows the editor only for an existing record (because of the *upload_admin_post_path*) and it doesn't provide a way to remove images (just deleting them from the editor will not destroy them, you'll need to implement a purge logic for that).
|
94
98
|
|
99
|
+
## Changelog
|
100
|
+
|
101
|
+
The changelog is available [here](CHANGELOG.md).
|
102
|
+
|
95
103
|
## Do you like it? Star it!
|
96
104
|
|
97
105
|
If you use this component just star it. A developer is more motivated to improve a project when there is some interest. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).
|
metadata
CHANGED
@@ -1,37 +1,37 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_trumbowyg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattia Roccoberton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.9.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.9.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: appraisal
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '2.4'
|
34
|
-
type: :
|
34
|
+
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
@@ -226,7 +226,11 @@ files:
|
|
226
226
|
homepage: https://github.com/blocknotes/activeadmin_trumbowyg
|
227
227
|
licenses:
|
228
228
|
- MIT
|
229
|
-
metadata:
|
229
|
+
metadata:
|
230
|
+
homepage_uri: https://github.com/blocknotes/activeadmin_trumbowyg
|
231
|
+
changelog_uri: https://github.com/blocknotes/activeadmin_trumbowyg/blob/master/CHANGELOG.md
|
232
|
+
source_code_uri: https://github.com/blocknotes/activeadmin_trumbowyg
|
233
|
+
rubygems_mfa_required: 'true'
|
230
234
|
post_install_message:
|
231
235
|
rdoc_options: []
|
232
236
|
require_paths:
|
@@ -235,14 +239,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
235
239
|
requirements:
|
236
240
|
- - ">="
|
237
241
|
- !ruby/object:Gem::Version
|
238
|
-
version: '0'
|
242
|
+
version: '3.0'
|
239
243
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
244
|
requirements:
|
241
245
|
- - ">="
|
242
246
|
- !ruby/object:Gem::Version
|
243
247
|
version: '0'
|
244
248
|
requirements: []
|
245
|
-
rubygems_version: 3.
|
249
|
+
rubygems_version: 3.4.19
|
246
250
|
signing_key:
|
247
251
|
specification_version: 4
|
248
252
|
summary: Trumbowyg Editor for ActiveAdmin
|