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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da69d38c5bdc78f28cb71a1249944762dc8b3e04dcf4c78c59b5186564bb5bb0
|
4
|
+
data.tar.gz: 5f7919a4d6c5c2fde026f74409b251dbdd6238856a5e940cf6db7b4722477cda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
|
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.
|
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-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|