activeadmin_medium_editor 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18830bfe275573dcd15abaa21c76b6e4266ec56d
4
- data.tar.gz: b4c18640d247fe3dc72bf08bea8deded67557c6f
3
+ metadata.gz: d77f176514784cd019c327997c4a229eaca11821
4
+ data.tar.gz: 8f5dae666645ef5f63f9bf49244244c8f6b99d83
5
5
  SHA512:
6
- metadata.gz: 93a66cf75bb58cd4b0d1bedea4ee9b625d589dbab2ec400041519235c5001c34d2e07e13c7d93d4ea2f2a26bb712a9f81add83a1c72a5cd2d106c423a506f5cb
7
- data.tar.gz: a629a66783f6598990a1bcae5c00c1fd8309ff9c6bed6eda6de84a86f40d4f5ef59eb0a89a69686b1b69cc60372ac229ba2da58bd16f85e8316807a4664f98e9
6
+ metadata.gz: f7d37eed07de59b10ab0a4008dbb1c683495b8ba630c7b0aac23f0a4dc3dbdafdc06f2dd9a164713daa4b3a6b4e19df199d4e7a7977c83a781df81dc2b4a4501
7
+ data.tar.gz: f352847ed4321b086938420f9df2a70b9b20097f5a21b9577b2ffaa40c350d1c07edf571a858ad5f7edf4324f093e951707b2b61294227c439990dd359fdaac6
data/README.md CHANGED
@@ -4,7 +4,7 @@ An Active Admin plugin to use [medium-editor](https://github.com/yabwe/medium-ed
4
4
 
5
5
  ![screenshot](screenshot.jpg)
6
6
 
7
- After some text of the input is selected a pop-up menu is shown.
7
+ *Usage*: select some text in the input, a pop-up menu is shown with the available buttons
8
8
 
9
9
  ## Install
10
10
 
@@ -14,7 +14,7 @@ After some text of the input is selected a pop-up menu is shown.
14
14
  - Add at the end of your ActiveAdmin styles (_app/assets/stylesheets/active_admin.scss_):
15
15
  ```css
16
16
  @import 'activeadmin/medium_editor_input';
17
- @import 'activeadmin/medium_editor/themes/default'; // or another theme
17
+ @import 'activeadmin/medium_editor/themes/default.css'; // or another theme
18
18
  ```
19
19
  - Add at the end of your ActiveAdmin javascripts (_app/assets/javascripts/active_admin.js_):
20
20
  ```js
@@ -25,7 +25,7 @@ After some text of the input is selected a pop-up menu is shown.
25
25
 
26
26
  Why 2 separated scripts? In this way you can include a different version of *medium-editor* if you like.
27
27
 
28
- ## Notes
28
+ ## Options
29
29
 
30
30
  **data-options**: permits to set *medium-editor* options directly - see [options list](https://github.com/yabwe/medium-editor#mediumeditor-options)
31
31
 
@@ -53,6 +53,12 @@ With the current version of Medium Editor some default buttons seem to not work
53
53
 
54
54
  If some of this feature are needed I could suggest to override the button behavior or to use custom style classes. See the Medium Editor documentation for details.
55
55
 
56
+ ## Do you like it? Star it!
57
+
58
+ If you use this component just star it. A developer is more motivated to improve a project when there is some interest.
59
+
60
+ Take a look at [other ActiveAdmin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source) that I made if you are curious.
61
+
56
62
  ## Contributors
57
63
 
58
64
  - [Mattia Roccoberton](http://blocknot.es) - creator, maintainer
@@ -1,4 +1,4 @@
1
- @import './medium_editor/medium_editor'
1
+ @import 'activeadmin/medium_editor/medium_editor.css'
2
2
 
3
3
  body.active_admin form
4
4
  textarea.medium-editor-hidden
@@ -1,5 +1,5 @@
1
1
  module ActiveAdmin
2
2
  module MediumEditor
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_medium_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Roccoberton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-30 00:00:00.000000000 Z
11
+ date: 2017-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin