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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f789938d43a2cc151c3fe8c917cb1c11f18a9fe64e8e824d9f5c12a7b7a6c6df
|
4
|
+
data.tar.gz: e84e9683e1a468fa5e428fc4be449d75969f1b436b5b8195e4760be5cefeb46d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
78
|
-
<%= form.text_area :post_text, class: "form-control
|
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>
|
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.
|
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-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|