formtastic-trix 0.1.6 → 0.1.7

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: 843464a4e2b0b3a70f2d3a157d3e6836543a16b0
4
- data.tar.gz: 906b12b78a3a4ead654936bf1b97682bd657971f
3
+ metadata.gz: d09c892c5bc6415ce0c54029bb5d1b5b7c1f77c3
4
+ data.tar.gz: 01c26e4770a433267d60a02eb32733073b1bd749
5
5
  SHA512:
6
- metadata.gz: d6a792275faac217468fd5f1f9595bcf13f07d4149456e910c5f0855669ce4e4cbf543494d5e723a3efd64611ab24ebb85e707b896a6868771f28801ee30eccc
7
- data.tar.gz: e882026519d540fee248c902b89aad673c8973f045216b2f4553937ea1a2f361091bd4e3d44e7e62b25b89bc0f19847e5ec9837edabb1ad6baae5123e9dc5793
6
+ metadata.gz: c2a0746543160881ab7e3ae57ac983df5983a3ec67ce551d617bf33c82ea71160754f9eb9e05d847f23124bd7b4487eef1ce5d172e542a4cf88333b9521fca95
7
+ data.tar.gz: 2c9e28b3ac1a678ef282675c7c3f432237b08c57c76a37ef884752d37bed16e9ff92634510f42cd91c3c11490c106a7794a1390790173d23320c164c5bb56dea
@@ -0,0 +1,9 @@
1
+ .trix-editor-wrapper {
2
+ width: calc(80% - 22px);
3
+ display: inline-block;
4
+ font-size: 0.95em;
5
+ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
6
+ outline: none;
7
+ }
8
+ trix-toolbar {}
9
+ trix-editor { background: #FFF; }
@@ -1,6 +1,4 @@
1
- class TrixInput < ::Formtastic::Inputs::StringInput
2
- include Base
3
- include Base::Placeholder
1
+ class TrixInput < Formtastic::Inputs::StringInput
4
2
  def to_html
5
3
  input_wrapping do
6
4
  editor_tag_params = {
@@ -1,5 +1,5 @@
1
1
  require 'formtastic/trix/engine' if defined?(::Rails)
2
- require 'formtastic/trix/inputs/trix_input'
2
+ require 'formtastic/inputs/trix_input'
3
3
 
4
4
  module Formtastic
5
5
  module Trix
@@ -1,5 +1,5 @@
1
1
  module Formtastic
2
2
  module Trix
3
- VERSION = '0.1.6'
3
+ VERSION = '0.1.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formtastic-trix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Glen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-27 00:00:00.000000000 Z
11
+ date: 2017-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: formtastic
@@ -63,10 +63,11 @@ files:
63
63
  - README.md
64
64
  - Rakefile
65
65
  - app/assets/javascripts/trix.js
66
+ - app/assets/stylesheets/trix-formtastic.scss
66
67
  - app/assets/stylesheets/trix.css
68
+ - lib/formtastic/inputs/trix_input.rb
67
69
  - lib/formtastic/trix.rb
68
70
  - lib/formtastic/trix/engine.rb
69
- - lib/formtastic/trix/inputs/trix_input.rb
70
71
  - lib/formtastic/trix/version.rb
71
72
  - lib/tasks/formtastic/trix_tasks.rake
72
73
  homepage: http://www.tagstudios.io