phcdevworks_press 4.8.0 → 4.8.1

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
  SHA256:
3
- metadata.gz: 37bb864082b1fa5177355a44341b9acb7fb77924e6d5eea346725dcde424db36
4
- data.tar.gz: 7ed190b59283b99669f760142e76eff6c49d2bf5410a4fbedab661d430436416
3
+ metadata.gz: f789938d43a2cc151c3fe8c917cb1c11f18a9fe64e8e824d9f5c12a7b7a6c6df
4
+ data.tar.gz: e84e9683e1a468fa5e428fc4be449d75969f1b436b5b8195e4760be5cefeb46d
5
5
  SHA512:
6
- metadata.gz: 203e08382a890f75ccf95369f33e6efcb7743afaeb7100f56c3313a71d3e607b2b14c3a1975d220f2e6cd2417ac457573d9fafc5557f8d490e789c64b0db2801
7
- data.tar.gz: 5ecf5f1414e43cb6e698ce03d52abdb2ab6ab760d88c08f5ced41069510dee1f6f38d2134734c3ffc312ab32ea1a9bb02c8a8ace3afafab32190954a10d0bf7a
6
+ metadata.gz: 1c00dfd3ae9f9039f9e0401df386d349a072847b0244eb43e9712747b007607eff3c3df611af64ae6aacd58b83bc6faf7d1c3c405a70608b32b67af4840238a4
7
+ data.tar.gz: dc0e92f461aa3e3cfd36c64590f5b7bd5c3c188628755569d2d958f6b279d38930d24734fade7a14ed5859ef5ca33d9cb3e0861e71589a61103c9527ace1dd22
@@ -70,6 +70,12 @@
70
70
  <!-- JavaScript CKEditor -->
71
71
  <script>ClassicEditor
72
72
  .create( document.querySelector( '.editor' ), {
73
+ config: {
74
+ ui: {
75
+ width: '500px',
76
+ height: '300px'
77
+ }
78
+ }
73
79
  toolbar: {
74
80
  items: [
75
81
  'heading',
@@ -123,6 +129,13 @@
123
129
  .then( editor => {
124
130
  window.editor = editor;
125
131
  } )
132
+ .editorConfig = function( config ) {
133
+ config.title = false;
134
+ ui: {
135
+ width: '100%',
136
+ height: '800px'
137
+ }
138
+ };
126
139
  .catch( error => {
127
140
  console.error( 'Oops, something gone wrong!' );
128
141
  console.error( 'Please, report the following error in the https://github.com/ckeditor/ckeditor5 with the build id and the error stack trace:' );
@@ -74,8 +74,8 @@
74
74
  <%= form.label :post_title, "Article Title" %>
75
75
  <%= form.text_field :post_title, class: "form-control" %>
76
76
  </div>
77
- <div class="form-group field_with_errors">
78
- <%= form.text_area :post_text, class: "form-control", class: "editor" %>
77
+ <div class="form-group ">
78
+ <%= form.text_area :post_text, class: "form-control editor" %>
79
79
  <div id="word-count" class="mt-3"></div>
80
80
  </div>
81
81
  </div>
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksPress
2
- VERSION = "4.8.0"
2
+ VERSION = "4.8.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_press
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.0
4
+ version: 4.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-25 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails