phcdevworks_tutorials 6.10.0 → 6.10.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: 846e83cc6c7b480d98dabe476ff47b54ab33b97ac263bc83d3dee84986de0575
4
- data.tar.gz: af55494869abc9aa90d726122b6a590b4e28dd850ca4e3c812b1db9adc1f2cd9
3
+ metadata.gz: da69d38c5bdc78f28cb71a1249944762dc8b3e04dcf4c78c59b5186564bb5bb0
4
+ data.tar.gz: 5f7919a4d6c5c2fde026f74409b251dbdd6238856a5e940cf6db7b4722477cda
5
5
  SHA512:
6
- metadata.gz: 258d6794229651014ab54d68536b6c889297219e3553b1e0d5b3d6815cee108c1786bcf9992234ae511d65dd89bac81bbc375f59c6e61f2191ad520850bb97a5
7
- data.tar.gz: 65108181a2ca4daaa223d3367c2b95196360f5063a54e1ee26881187ae9fad42031cca596ba15fd61eedf69d6baf0b17418ad25a682aa25fff9d41500c8f2791
6
+ metadata.gz: beb2de9b9a78fd635d6c80e12eee0715d0e0bafdc96679147628a48c1a04984bab13e2be808b792f6c126a363177914eba7f9745e0e652fa6e432fb9151939ca
7
+ data.tar.gz: b06cab07de39b55e140206447ea255a8e7c34f0a424d584f734158b63049ccbe56e486e1407b3148d07fea535e47cce4c5bab9d38078a9e0adbbd984aac74cfd
@@ -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:' );
@@ -13,7 +13,7 @@
13
13
 
14
14
  <div class="form-group">
15
15
  <%= form.label :post_description, "Tutorial Description" %>
16
- <%= form.text_area :post_description, class: "form-control", class: "editor" %>
16
+ <%= form.text_area :post_description, class: "form-control editor" %>
17
17
  <div id="word-count" class="mt-3"></div>
18
18
  </div>
19
19
 
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksTutorials
2
- VERSION = "6.10.0"
2
+ VERSION = "6.10.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_tutorials
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.10.0
4
+ version: 6.10.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