ckeditor5 1.15.1 → 1.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -7
- data/lib/ckeditor5/rails/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b26a617fa5ece35858dee8b02c715443a8bcbb53d68c3529e216d548341c02ee
|
4
|
+
data.tar.gz: 86c363e6f59edf4c09f903cdee2a5a27f1216bd8d41d6063bdd7795bd2c6f665
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdae106877e0d80c74af702ed133842ec3f4367f7f0f1f5e6d27ba1508f6e9bc0b006c87254110051790c7d2ea236cbb3a0650d8613b31eb728efef01769cf43
|
7
|
+
data.tar.gz: d82752dffffa42e16575c0b63594c66dd6f0123203d01caa44a885ae7410e0435c1329b4f9edff72bef2f852ea8ca1a190ecbfd30a845662b7b9a57a34176763
|
data/README.md
CHANGED
@@ -28,12 +28,13 @@ In your config (the default config is defined [here](https://github.com/Mati365/
|
|
28
28
|
# config/initializers/ckeditor5.rb
|
29
29
|
|
30
30
|
CKEditor5::Rails.configure do
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
31
|
+
# 🔖 Specify the version of editor you want.
|
32
|
+
# ⚙️ Default configuration includes:
|
33
|
+
# 📝 Classic editor build
|
34
|
+
# 🧩 Essential plugins (paragraphs, basic styles)
|
35
|
+
# 🎛️ Default toolbar layout
|
36
|
+
# 📜 GPL license
|
37
|
+
version '43.3.0'
|
37
38
|
end
|
38
39
|
```
|
39
40
|
|
@@ -63,8 +64,14 @@ In your view:
|
|
63
64
|
<%= ckeditor5_assets %>
|
64
65
|
<% end %>
|
65
66
|
|
66
|
-
<!-- 🖋️
|
67
|
+
<!-- 🖋️ CKEditor 5 might be placed using simple view helper ... -->
|
67
68
|
<%= ckeditor5_editor %>
|
69
|
+
|
70
|
+
<!-- ... or using form input helper -->
|
71
|
+
|
72
|
+
<%= form_for @post do |f| %>
|
73
|
+
<%= f.ckeditor5 :content, required: true %>
|
74
|
+
<% end %>
|
68
75
|
```
|
69
76
|
|
70
77
|
Voilà! You have CKEditor 5 integrated with your Rails application. 🎉
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ckeditor5
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.15.
|
4
|
+
version: 1.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Bagiński
|
8
8
|
- Łukasz Modliński
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2024-11-21 00:00:00.000000000 Z
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '9.0'
|
34
|
-
description:
|
34
|
+
description:
|
35
35
|
email: cziken58@gmail.com
|
36
36
|
executables: []
|
37
37
|
extensions: []
|
@@ -82,7 +82,7 @@ homepage: https://github.com/Mati365/ckeditor5-rails
|
|
82
82
|
licenses:
|
83
83
|
- GPL-2.0
|
84
84
|
metadata: {}
|
85
|
-
post_install_message:
|
85
|
+
post_install_message:
|
86
86
|
rdoc_options: []
|
87
87
|
require_paths:
|
88
88
|
- lib
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubygems_version: 3.5.22
|
101
|
-
signing_key:
|
101
|
+
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: CKEditor 5 for Rails
|
104
104
|
test_files:
|