ckeditor5 1.15.1 → 1.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7d0dce96ea4b299699c42c1567c3f101a257c465a0e93b8856847fff94c6062
4
- data.tar.gz: 9ca6f4faa82bc9f62efa91b65634b8b9a037ce7fda0bf99507cefc87fca8348b
3
+ metadata.gz: b26a617fa5ece35858dee8b02c715443a8bcbb53d68c3529e216d548341c02ee
4
+ data.tar.gz: 86c363e6f59edf4c09f903cdee2a5a27f1216bd8d41d6063bdd7795bd2c6f665
5
5
  SHA512:
6
- metadata.gz: c484342136c54b500b98e3615647f8c9c92c403d4af5569cadc910a520250f7767ccf020f9d697853fce9a9ae67a4bfa7dedb883b0691a6008f65b3b04c93190
7
- data.tar.gz: f98cb8faacebed0f36ffda4a8523443f4307b138b20136e670ee9dc7894bd91d9889c9acc14f0abe736c34c7339d1ff664b9332f8cf22555348c8094cfa7b592
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
- version '43.3.0' # 🔖 Specify the version of editor you want.
32
- # ⚙️ Configuration includes:
33
- # 📝 Classic editor build
34
- # 🧩 Essential plugins (paragraphs, basic styles)
35
- # 🎛️ Default toolbar layout
36
- # 📜 GPL license
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
- <!-- 🖋️ Renders rich text editor interface using WebComponent -->
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. 🎉
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CKEditor5
4
4
  module Rails
5
- VERSION = '1.15.1'
5
+ VERSION = '1.15.2'
6
6
  end
7
7
  end
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.1
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: